Skip to content

Commit bc7f1b6

Browse files
committed
css exercises
1 parent 9a473c9 commit bc7f1b6

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

css/exercises/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<!-- You do not need to do anything with script.js right now! Later, we will learn how to add JavaScript to websites! --->
1212
<h1>My Very Cool Web Page</h1>
1313
<h2>Why this Website is Very Cool</h2>
14-
<ol>
14+
<ol id="list-color">
1515
<li>I made it!</li>
1616
<li>This website is colorful!</li>
1717
</ol>

css/exercises/styles.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,25 @@
11
/* Start adding your styling below! */
2+
body {
3+
background-color: yellow;
4+
5+
}
6+
7+
p {
8+
color: green;
9+
}
10+
11+
h1 {
12+
font-size: 36px;
13+
}
14+
15+
h1, h2, h3, h4 {
16+
text-align: center;
17+
}
18+
19+
#cool-text {
20+
color: blue;
21+
}
22+
23+
#list-color {
24+
color: #00a38b;
25+
}

0 commit comments

Comments
 (0)