Skip to content

Commit b89e210

Browse files
author
Dhruv Mohindru
committed
Finished section 4
1 parent 4c448fe commit b89e210

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ <h4>Related posts</h4>
9090

9191
<ul class="related">
9292
<li>
93-
<img src="img/related-1.jpg" alt="Person programming" width="75" width="75" />
93+
<img src="img/related-1.jpg" alt="Person programming" width="75" height="75" />
9494
<a href="#">How to Learn Web Development</a>
9595
<p class="related-author">By Jonas Schmedtmann</p>
9696
</li>
9797
<li>
98-
<img src="img/related-2.jpg" alt="Lightning" width="75" heigth="75" />
98+
<img src="img/related-2.jpg" alt="Lightning" width="75" height="75" />
9999
<a href="#">The Unknown Powers of CSS</a>
100100
<p class="related-author">By Jim Dillon</p>
101101
</li>

starter/03-CSS-Fundamentals/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* border-top: 10px solid #1098ad; */
33
margin: 0;
44
padding: 0;
5-
65
}
76
/* PAGE SECTIONS */
87
body {
@@ -33,6 +32,7 @@ body {
3332

3433
nav {
3534
font-size: : 18px;
35+
text-align: center;
3636
}
3737

3838
article {
@@ -205,6 +205,7 @@ nav a:link {
205205
margin-right: 30px;
206206
margin-top: 10px;
207207
display: inline-block;
208+
208209

209210
}
210211

0 commit comments

Comments
 (0)