-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
49 lines (49 loc) · 1.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<title>DOM Basics</title>
<link rel="stylesheet" href="main.css" type="text/css" />
</head>
<body>
<header>
<h2>
WELCOME to DOM BASICS!
</h2>
</header>
<main role="main">
<div id="top">
<p class="first-paragraph">
This is an example of some text. It is inside a p tag with the class of "first-paragraph". It has a parent with an id of "top"
</p>
<ul>
<li>
first list item
</li>
<li>
second list item
</li>
<li>
third list item
</li>
<li>
forth list item
</li>
<li>
fifth and last list item
</li>
</ul>
</div>
<div id="bottom">
<p>
this is the first p child in the div with id "bottom".
</p>
<p>
</p>
<p>
This is the last p child in the div with id "bottom".
</p>
</div>
</main>
<script src="app.js" type="text/javascript"></script>
</body>
</html>