bubblebooy / Odin-HTML5andCSS3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PROJECT: POSITIONING AND FLOATING ELEMENTS Introduction The New York Times has been a leader in experimenting with the inclusion of multimedia content in traditional stories. That creates all kinds of interesting position questions.

In this project, your assignment is to copy this article from the New York Times(open in an “incognito” window without cookies to view it if you’re over your monthly limit). Notice how the section titled “The Theory of Inflation” (you may need to widen your viewing window for it to show up) is laid out.

Assignment Note: As usual, ignore any ads, comments or interactive elements (which use Javascript) and don’t worry about what happens when you change the page width (they use some media queries to rearrange things). Focus on making it look similar.

Go to the NYT article in question and have a look around. Follow the instructions atop the Google Homepage project to set up a Github repository for this project (of course you’ll need to change the title). Create a new HTML document. Think about all the elements on the page and how they are grouped together. Lay out the basic structure of the page using empty semantic HTML elements that are appropriately sized and positioned. You may want to make their background colors different so you can see them. Don’t forget to use your browser’s developer tools (right click on the page, click “inspect element”)! Set up the top navigation bar (again, don’t worry about making it change when you scroll down the page). How can you get it to stick to the top of the page as you scroll down? Fill in and position the additional sections. Don’t worry about enclosing every paragraph of text in

tags. Push your solution to Github.

About


Languages

Language:HTML 75.5%Language:CSS 24.5%