Skip to content

Commit 79417c8

Browse files
committed
Debugged html and css code with the help of Google Chrome Developer Tools, Diffchecker and HTML Validator. Fixed typos and errors in the code.
1 parent 4a6a95d commit 79417c8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

starter/03-CSS-Fundamentals/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h4>Related posts</h4>
138138
src="img/related-1.jpg"
139139
alt="Person programming"
140140
width="75"
141-
width="75"
141+
height="75"
142142
/>
143143
<a href="#">How to Learn Web Development</a>
144144
<p class="related-author">By Jonas Schmedtmann</p>
@@ -148,7 +148,7 @@ <h4>Related posts</h4>
148148
src="img/related-2.jpg"
149149
alt="Lightning"
150150
width="75"
151-
heigth="75"
151+
height="75"
152152
/>
153153
<a href="#">The Unknown Powers of CSS</a>
154154
<p class="related-author">By Jim Dillon</p>

starter/03-CSS-Fundamentals/style.css

+6
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ a:active {
204204
height: auto;
205205
}
206206

207+
/* Good Selector Example */
207208
nav a:link {
208209
/* Inline To Block level Elements Behavior Demo */
209210
/* background-color: orangered;
@@ -216,6 +217,11 @@ nav a:link {
216217
display: inline-block;
217218
}
218219

220+
/* Antipattern Selector Example */
221+
/* .main-header nav a:link {
222+
margin-top: 100px;
223+
} */
224+
219225
nav a:link:last-child {
220226
margin-right: 0;
221227
}

0 commit comments

Comments
 (0)