forked from OakAcademy/JavaScript-Beginner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (49 loc) · 1.29 KB
/
Copy pathindex.html
File metadata and controls
58 lines (49 loc) · 1.29 KB
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
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JAVASCRIPT DOM</title>
<style type="text/css">
.addClass {
width: 300px;
height: 20px;
background: red;
color: white;
border: 10px solid black;
}
.toggleBackground {
background-color: red;
color: white;
}
.okay {
text-decoration: line-through;
color: gray;
}
</style>
</head>
<body>
<h1 id='OAKTitle'>JAVASCRIPT DOM MANIPULATION</h1>
<h1>OAK Academy</h1>
<p id="oakParagraph">OAK Academy is the <strong>best</strong> academy</p>
<div class="background">Background div1</div>
<div class="background">Background div2</div>
<ul>
<li>Cat</li>
<li>Dog</li>
<li>Elephant</li>
</ul>
<h4>TO-DO LIST</h4>
<ul>
<li class="todoItem">Go to school</li>
<li class="todoItem">Go to gym</li>
<li class="todoItem">Go to shopping</li>
<li class="todoItem">Cook dinner</li>
</ul>
<a href="https://oakacademy.uk/courses">OAK Academy</a>
<div>
<button id="btn1">Click to this button</button>
</div>
<script src="script.js"></script>
</body>
</html>