File tree Expand file tree Collapse file tree 2 files changed +31
-9
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +31
-9
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ <h2>The Basic Language of the Web: HTML</h2>
39
39
width ="50 "
40
40
/>
41
41
42
- < p > Posted by < strong > Laura Jones</ strong > on Monday, June 21st 2027</ p >
42
+ < p id ="author ">
43
+ Posted by < strong > Laura Jones</ strong > on Monday, June 21st 2027
44
+ </ p >
43
45
44
46
< img
45
47
src ="img/post-img.jpg "
@@ -115,20 +117,20 @@ <h3>Why should you learn HTML?</h3>
115
117
< h4 > Related posts</ h4 >
116
118
117
119
< ul >
118
- < li >
120
+ < li class =" related " >
119
121
< img
120
122
src ="img/related-1.jpg "
121
123
alt ="Person programming "
122
124
width ="75 "
123
125
width ="75 "
124
126
/>
125
127
< a href ="# "> How to Learn Web Development</ a >
126
- < p > By Jonas Schmedtmann</ p >
128
+ < p class =" related-author " > By Jonas Schmedtmann</ p >
127
129
</ li >
128
130
< li >
129
131
< img src ="img/related-2.jpg " alt ="Lightning " width ="75 " heigth ="75 " />
130
132
< a href ="# "> The Unknown Powers of CSS</ a >
131
- < p > By Jim Dillon</ p >
133
+ < p class =" related-author " > By Jim Dillon</ p >
132
134
</ li >
133
135
< li >
134
136
< img
@@ -138,11 +140,13 @@ <h4>Related posts</h4>
138
140
height ="75 "
139
141
/>
140
142
< a href ="# "> Why JavaScript is Awesome</ a >
141
- < p > By Matilda</ p >
143
+ < p class =" related-author " > By Matilda</ p >
142
144
</ li >
143
145
</ ul >
144
146
</ aside >
145
147
146
- < footer > < p > Copyright © 2027 by The Code Magazine.</ footer > </ p >
148
+ < footer >
149
+ < p id ="copyright "> Copyright © 2027 by The Code Magazine.</ p >
150
+ </ footer >
147
151
</ body >
148
152
</ html >
Original file line number Diff line number Diff line change 36
36
font-size : 20px ;
37
37
}
38
38
39
- footer p {
39
+ /* footer p {
40
40
font-size: 16px;
41
- }
41
+ } */
42
+
43
+ /*article header p {
44
+ font-style: italic;
45
+ }*/
42
46
43
- article header p {
47
+ # author {
44
48
font-style : italic;
49
+ font-size : 18px ;
50
+ }
51
+
52
+ # copyright {
53
+ font-size : 16px ;
54
+ }
55
+
56
+ .related-author {
57
+ font-size : 18px ;
58
+ font-weight : bold;
59
+ }
60
+
61
+ .related {
62
+ list-style : none;
45
63
}
You can’t perform that action at this time.
0 commit comments