This assignment consists of making a clone of a New York Times article page.
- The Nav bar have the NewYork Times headline (in center) ,and have two icons and two buttons(login and subscribe) on left and right respectively.(The nav-bar was created with the tag
<nav>
, and the buttons and icons have their sepreated<div>
tags)
-
The main content of the page (being the actual article and the right side sections) was made by creating some
<section>
tags only divided by the Advertisement spaces which are individual<div>
tags. -
Since the main article container has already a fixed width and its container won't change even if the viewport does (because of it being at its minimal width already) the horizontal centering was achieved by using the
padding
property with an absolute value to its left and so allow the aside boxes to align using only thefloat
property. -
The top bar icons were made using Font Awesome and were contained and aligned with flexboxes
-
As for each image, they were wrapped inside
<figure>
tags and took advantage of the<figcaption>
elements to describe what was shown above.
-
One of the main requirement of this project is to create
<aside>
tag and use css property Float on it. -
Another
<section>
was created with the id #grid-boxes to create two coloums with 3 imgs in each of it. -
Right side content created using the
<aside>
tag and used the property float:right on it.
-
The
<footer>
tag was created for the content at the bottom. In this we have created multiple<divs>
with multiple<uls>
and<lis>
-
Uses the New-york-Times logo as the heading of the
<footer>
and used The font awesome icons at the right side for the very last<li>s
.
- HTML5, CSS3
- VSCode
https://krishnabot.github.io/NYTimes-Clone/
👤 Jaspreet Singh
- Github: @jaspreet-singh-sahota
- Twitter: [@jaspree88033250]https://twitter.com/jaspree88033250
- Linkedin: [jaspreet Singh]https://www.linkedin.com/in/jaspreet-singh-a28286146/
👤 Krishna Prasad Acharya
- Github: @krishnabot
- Twitter: [@@etrnalblasphemy]https://twitter.com/etrnalblasphemy
- Linkedin: [Krishna Prasad Acharya]https://www.linkedin.com/in/krishna-prasad-acharya-3596bb130/