-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (78 loc) · 3.22 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
<!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" />
<!-- Web page CSS -->
<link rel="stylesheet" href="assets/css/style.css" />
<link rel="stylesheet" href="assets/css/nav.css">
<title>Time to Workout</title>
</head>
<body>
<!-- header -->
<div class="header">
<div id="navbar">
<a href="#home">Home</a>
<a href="#stopwatch">Stopwatch</a>
<a href="#todo">To-Do List</a>
</div>
</div>
<!-- wrapper -->
<div class="wrapper">
<!-- container -->
<div class="container" id="home">
<!-- Home -->
<div class="home">
<h1>Time to <br />
workout?</h1>
<span id="clock" onload="showTime()" class="current_time"></span></h1>
<ul>
<a href="#stopwatch"><li>Stopwatch</li></a>
<a href="#todo"><li>To-Do List</li></a>
</ul>
<p>You can manage your exercise effectively utilising these tools of stopwatch and To-Do list. The letters are big enough so that you can see while exercising.<br>
This is the sample website to showcase some JavaScript projects including stopwatch, To-Do list, clock, and sticky navigation. Please feel free to contact <a href="https://www.yoshikok.org/" target="_blank">me</a> for Web development, Python, Javascript, and Data Analysis projects.
</p>
</div>
<!-- Stopwatch -->
<div class="stopwatch" id="stopwatch">
<h1><img src="./assets/img/stopwatch.png" alt="stopwatch" class="stopwatch_img">Stopwatch</h1>
<h2>Time your muscle training.</h2>
<p class="timer">
<span id="mins">00</span>:<span id="seconds">00</span>:<span id="tens">00</span>
</p>
<p class="buttons">
<button id="button-start">Start</button>
<button id="button-stop">Stop</button>
<button id="button-reset">Reset</button>
</p>
</div>
<!-- To-Do- list -->
<div class="todo" id="todo">
<h1><img src="./assets/img/note.png" alt="note" style="width: 4rem; margin-right: 12px;">To-Do list</h1>
<h2>Manage your tasks.</h2>
<div class="newtask" id="newtask">
<input type="text" placeholder="Add Tasks" />
<button id="push">Add</button>
</div>
<div class="tasks" id="tasks"></div>
</div>
</div>
</div>
<!-- Footer -->
<footer>
<p>©2023. All Rights Reserved</p>
<p><a href="http://www.yoshikok.org" target="_blank">yoshikok.org</a></p>
</footer>
<!-- Ion icons CDN -->
<script
type="module"
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"
></script>
<!-- Web page JS -->
<script src="assets/js/clock.js"></script>
<script src="assets/js/stopwatch.js"></script>
<script src="assets/js/todo.js"></script>
</body>
</html>