-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (39 loc) · 1.37 KB
/
index.html
File metadata and controls
48 lines (39 loc) · 1.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Counter - Project</title>
</head>
<body>
<section class="Counter">
<!-- title -->
<div class="counterTitle">
<h1>Counter</h1>
</div>
<!-- display section -->
<div class="counterDisplay">
<h2 id="counterDisplay">0</h2>
</div>
<!-- buttons section -->
<div class="counterButtons">
<div class="powerButtons" id="powerButtons">
<button id="powerBtn" class="powerOn" onclick="powerBtn()">ON</button>
<button id="reset" class="reset" onclick="reset()">reset</button>
</div>
<div class="countButtons " id="countButtons">
<div class="decrease btns">
<button id="decrease" class="countBtn" onclick="decreament()">-</button>
<span>Decrease</span>
</div>
<div class="increase btns">
<button id="increase" class="countBtn" onclick="Increament()">+</button>
<span>Increase</span>
</div>
</div>
</div>
</section>
<script src="scripts.js"></script>
</body>
</html>