Skip to content

Commit 4795c9c

Browse files
committed
feat: add style to index page
1 parent 3594240 commit 4795c9c

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<title>The Basic Language of the Web: HTML</title>
6+
<link rel="stylesheet" href="style.css" />
67
</head>
78

89
<body>
@@ -37,7 +38,9 @@ <h2>The Basic Language of the Web: HTML</h2>
3738
width="50"
3839
/>
3940

40-
<p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p>
41+
<p id="author">
42+
Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027
43+
</p>
4144

4245
<img
4346
src="img/post-img.jpg"
@@ -112,7 +115,7 @@ <h3>Why should you learn HTML?</h3>
112115
<aside>
113116
<h4>Related posts</h4>
114117

115-
<ul>
118+
<ul class="related">
116119
<li>
117120
<img
118121
src="img/related-1.jpg"
@@ -121,12 +124,12 @@ <h4>Related posts</h4>
121124
width="75"
122125
/>
123126
<a href="#">How to Learn Web Development</a>
124-
<p>By Jonas Schmedtmann</p>
127+
<p class="related-author">By Jonas Schmedtmann</p>
125128
</li>
126129
<li>
127130
<img src="img/related-2.jpg" alt="Lightning" width="75" heigth="75" />
128131
<a href="#">The Unknown Powers of CSS</a>
129-
<p>By Jim Dillon</p>
132+
<p class="related-author">By Jim Dillon</p>
130133
</li>
131134
<li>
132135
<img
@@ -136,11 +139,13 @@ <h4>Related posts</h4>
136139
height="75"
137140
/>
138141
<a href="#">Why JavaScript is Awesome</a>
139-
<p>By Matilda</p>
142+
<p class="related-author">By Matilda</p>
140143
</li>
141144
</ul>
142145
</aside>
143146

144-
<footer>Copyright &copy; 2027 by The Code Magazine.</footer>
147+
<footer>
148+
<p id="copyright">Copyright &copy; 2027 by The Code Magazine.</p>
149+
</footer>
145150
</body>
146151
</html>

0 commit comments

Comments
 (0)