-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
124 lines (101 loc) · 4.26 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minimal Clock</title>
<link rel="stylesheet" href="./css/style.css">
<!-- // google font // -->
<link href="https://fonts.googleapis.com/css2?family=Courgette&family=Orbitron:wght@800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<!--- // font awesome //-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<main>
<div class="toggle-container" onclick="openNav()">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
<section id="nav-section">
<div class="side-navbar" id="side-navbar">
<nav>
<ul>
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<li><a href="#intro-container" class="btn active">Introduction</a></li>
<li><a href="#clock-container" class="btn">Minimal Clock</a></li>
<li><a href="#stop-watch-section" class="btn">Stop Watch</a></li>
<li><a href="#" class="btn">Timmer</a></li>
</ul>
</nav>
</div>
</section>
<section id="nav-section">
<div class="side-navbar" id="side-navbar">
<nav>
<ul>
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<li><a href="#intro-container" class="btn active">Introduction</a></li>
<li><a href="#clock-container" class="btn">Minimal Clock</a></li>
<li><a href="#stop-watch-section" class="btn">Stop Watch</a></li>
<li><a href="#" class="btn">Timmer</a></li>
</ul>
</nav>
</div>
</section>
<a class="toggle-container" onclick="openNav()"><i class="fa fa-bars" aria-hidden="true"></i></a>
<!-- // Introduction section // -->
<section id="intro-container">
<div class="intro-content">
<h1 class="intro-heading">Introduction</h1>
<p>
Minimal clock is a working clock made by using JavaScript. This clock works based on your local time.
So it works for every time zone without any problems. Scroll down for our stop watch which has aesthetic
looks and is minimal at the same time.
Our stop watch is simple to use just click on start option to start the stop watch.
You can pause the time as well as reset it
</p>
<p>
Coming to our timer, we built it based on the same look and concept to keep it as Minimal as possible
at the same time looking neat and clean.
</p>
</div>
</section>
<!-- // Minimal clock section // -->
<section id="clock-container">
<div class="dark-theam-clock" id="dark-theam-clock">
<h1 class="clock-name">Minimal Clock</h1>
<div class="clock">
<div class="hour">
<div class="hr" id="hr"></div>
</div>
<div class="minute">
<div class="min" id="min"></div>
</div>
<div class="second">
<div class="sec" id="sec"></div>
</div>
</div>
</div>
</section>
<!-- // Minimal stop watch section -->
<section id="stop-watch-section" class="stop-watch-container">
<h1 class="heading">Stop Watch</h1>
<div class="stop-watch">
<h1 class="screen" id="screen">
00 : 00 : 00
</h1>
<ul class="laps" id="laps"></ul>
</div>
<div class="btn-container">
<div class="btn">
<button id="start-btn" onclick="start()"> Start</button>
<button id="stop-btn" onclick="stop()">Stop</button>
<button id="reset-btn" onclick="reset()">Reset</button>
</div>
</div>
</section>
</main>
<script src="./js/main.js">
</script>
</body>
</html>