File tree Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 9
9
< body >
10
10
< script src ="script.js "> </ script >
11
11
<!-- You do not need to do anything with script.js right now! Later, we will learn how to add JavaScript to websites! --->
12
- < h1 > My Very Cool Web Page</ h1 >
13
- < h2 > Why this Website is Very Cool</ h2 >
14
- < ol >
12
+ < h1 class =" center " > My Very Cool Web Page</ h1 >
13
+ < h2 class =" center " > Why this Website is Very Cool</ h2 >
14
+ < ol id =" list " >
15
15
< li > I made it!</ li >
16
16
< li > This website is colorful!</ li >
17
17
</ ol >
18
- < h2 id ="cool-text "> Why I love Web Development</ h2 >
18
+ < h2 class =" center " id ="cool-text "> Why I love Web Development</ h2 >
19
19
< p > Web Development is a very cool skill that I love learning!</ p >
20
20
< p > I love making websites because all I have to do is reload the page to see the changes I have made!</ p >
21
21
</ body >
Original file line number Diff line number Diff line change 1
1
/* Start adding your styling below! */
2
+ body {
3
+ background-color : yellow;
4
+ margin : 40 ;
5
+
6
+ }
7
+
8
+ p {
9
+ color : green;
10
+ }
11
+
12
+ h1 {
13
+ font-size : 36px ;
14
+ }
15
+
16
+ .center {
17
+ text-align : center;
18
+ }
19
+
20
+ # cool-text {
21
+ color : blue;
22
+ }
23
+
24
+ # list {
25
+ color : navy;
26
+ }
You can’t perform that action at this time.
0 commit comments