-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcounter.html
More file actions
34 lines (32 loc) · 1.16 KB
/
counter.html
File metadata and controls
34 lines (32 loc) · 1.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Counter</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap" rel="stylesheet">
<script src="main.js"></script>
<body>
<h1>COUNTER</h1>
<div class="parentdiv">
<div class="Circle">
<div class="new_row">
<div class="Display">
<h2 id="numtxt">0</h2>
</div>
</div>
<div class="new_row">
<button class="startbtn" onclick="rst()">RESET</button>
</div>
<div class="new_row">
<button class="circlebtns leftbtn" onclick="add()">+</button>
<button class="circlebtns rightbtn" onclick="sub()"">-</button>
</div>
</div>
</div>
</body>
</html>