Skip to content

Commit db0b396

Browse files
sudoworkyangsu
authored andcommitted
Changed Style
1 parent c462186 commit db0b396

1 file changed

Lines changed: 29 additions & 3 deletions

File tree

review/review.html

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
11
<!DOCTYPE html>
22

33
<html>
4-
<head><title>JavaScript Review Problem: Identifying Child Elements</title></head>
4+
<head>
5+
<title>JavaScript Review Problem: Identifying Child Elements</title>
6+
<style>
7+
div#container {
8+
display: block;
9+
width: 200px;
10+
margin: auto;
11+
}
12+
h3 {
13+
text-align: center;
14+
}
15+
ul {
16+
padding: 15px 25px;
17+
border: 1px solid #000;
18+
}
19+
li {
20+
margin: 5px 0;
21+
padding: 5px;
22+
border: 1px solid #00F;
23+
font-weight: bold;
24+
text-align: center;
25+
list-style: none;
26+
}
27+
</style>
28+
</head>
529
<body>
6-
<h3 id="list-title"></h3>
7-
<ul id="list" style="background-color: #EEE;"></ul>
30+
<div id="container">
31+
<h3 id="list-title"></h3>
32+
<ul id="list" style="background-color: #EEE;"></ul>
33+
</div>
834
<script>
935
var numItems = Math.floor(Math.random() * 10 + 5),
1036
list = document.getElementById('list'),

0 commit comments

Comments
 (0)