File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 ">
55 < meta name ="viewport " content ="width=device-width ">
66 < title > CSS Exercises</ title >
7- < link href ="style.css " rel ="stylesheet " type ="text/css " />
7+ < link href ="styles.css " rel ="stylesheet " type ="text/css " />
8+
89 </ head >
910 < body >
1011 < script src ="script.js "> </ script >
1112 <!-- 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 >
13+ < h1 class = " center " > My Very Cool Web Page</ h1 >
14+ < h2 class = " center " > Why this Website is Very Cool</ h2 >
15+ < ol id =" list-color " >
1516 < li > I made it!</ li >
1617 < li > This website is colorful!</ li >
1718 </ ol >
18- < h2 id ="cool-text "> Why I love Web Development</ h2 >
19+ < h2 class = " center " id ="cool-text "> Why I love Web Development</ h2 >
1920 < p > Web Development is a very cool skill that I love learning!</ p >
2021 < p > I love making websites because all I have to do is reload the page to see the changes I have made!</ p >
2122 </ body >
Original file line number Diff line number Diff line change 1- /* Start adding your styling below! */
1+ body {
2+ background-color : gold;
3+
4+ }
5+
6+ p {
7+ color : mediumseagreen;
8+
9+ }
10+
11+ h1 {
12+ font-size : 36px ;
13+
14+ }
15+
16+ .center {
17+ text-align : center;
18+ }
19+
20+ # cool-text {
21+
22+ color : cornflowerblue
23+ }
24+
25+ # list-color {
26+ color : cornsilk;
27+ }
You can’t perform that action at this time.
0 commit comments