File tree Expand file tree Collapse file tree 2 files changed +44
-13
lines changed
my_solution/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +44
-13
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ <h2>The Basic Language of the Web: HTML</h2>
38
38
width ="50 "
39
39
/>
40
40
41
- < p > Posted by < strong > Laura Jones</ strong > on Monday, June 21st 2027</ p >
41
+ < p id ="auther ">
42
+ Posted by < strong > Laura Jones</ strong > on Monday, June 21st 2027
43
+ </ p >
42
44
43
45
< img
44
46
src ="img/post-img.jpg "
@@ -113,7 +115,7 @@ <h3>Why should you learn HTML?</h3>
113
115
< aside >
114
116
< h4 > Related posts</ h4 >
115
117
116
- < ul >
118
+ < ul class =" no-bullet-points " >
117
119
< li >
118
120
< img
119
121
src ="img/related-1.jpg "
@@ -122,12 +124,12 @@ <h4>Related posts</h4>
122
124
width ="75 "
123
125
/>
124
126
< a href ="# "> How to Learn Web Development</ a >
125
- < p > By Jonas Schmedtmann</ p >
127
+ < p class =" related-author " > By Jonas Schmedtmann</ p >
126
128
</ li >
127
129
< li >
128
130
< img src ="img/related-2.jpg " alt ="Lightning " width ="75 " heigth ="75 " />
129
131
< a href ="# "> The Unknown Powers of CSS</ a >
130
- < p > By Jim Dillon</ p >
132
+ < p class =" related-author " > By Jim Dillon</ p >
131
133
</ li >
132
134
< li >
133
135
< img
@@ -137,11 +139,13 @@ <h4>Related posts</h4>
137
139
height ="75 "
138
140
/>
139
141
< a href ="# "> Why JavaScript is Awesome</ a >
140
- < p > By Matilda</ p >
142
+ < p class =" related-author " > By Matilda</ p >
141
143
</ li >
142
144
</ ul >
143
145
</ aside >
144
146
145
- < footer > Copyright © 2027 by The Code Magazine.</ footer >
147
+ < footer >
148
+ < p id ="copyright "> Copyright © 2027 by The Code Magazine.</ p >
149
+ </ footer >
146
150
</ body >
147
151
</ html >
Original file line number Diff line number Diff line change
1
+ h1 ,
2
+ h2 ,
3
+ h3 ,
4
+ h4 ,
5
+ p ,
6
+ li {
7
+ font-family : sans-serif;
8
+ }
9
+
1
10
h1 {
2
11
color : blue;
3
12
font-size : 26px ;
4
- font-family : sans-serif;
5
13
text-transform : uppercase;
6
14
font-style : italic;
7
15
}
8
16
9
17
h2 {
10
18
font-size : 40px ;
11
- font-family : sans-serif;
12
19
}
13
20
14
21
h3 {
15
22
font-size : 30px ;
16
- font-family : sans-serif;
17
23
}
18
24
19
25
h4 {
20
26
font-size : 20px ;
21
- font-family : sans-serif;
22
27
text-transform : uppercase;
23
28
text-align : center;
24
29
}
25
30
26
31
h4 {
27
32
font-size : 20px ;
28
- font-family : sans-serif;
29
33
}
30
34
31
35
p {
32
36
font-size : 22px ;
33
- font-family : sans-serif;
34
37
line-height : 1.5 ;
35
38
}
36
39
37
40
li {
38
41
font-size : 20px ;
39
- font-family : sans-serif;
40
42
}
43
+
44
+ .no-bullet-points {
45
+ list-style : none;
46
+ }
47
+
48
+ .related-author {
49
+ font-size : 18px ;
50
+ font-weight : bold;
51
+ }
52
+
53
+ /* footer p {
54
+ font-size: 16px;
55
+ } */
56
+ # copyright {
57
+ font-size : 16px ;
58
+ }
59
+
60
+ # auther {
61
+ font-style : italic;
62
+ font-size : 18px ;
63
+ }
64
+
65
+ /* header p {
66
+ font-style: italic;
67
+ } */
You can’t perform that action at this time.
0 commit comments