-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (41 loc) · 1.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Animated Clock</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="card">
<h3>Clock Style</h3>
<form>
<div class="form-input">
<label for="face-color">Face Color</label>
<input type="color" value="#f4f4f4" id="face-color">
</div>
<div class="form-input">
<label for="border-color">Border Color</label>
<input type="color" value="#800000" id="border-color">
</div>
<div class="form-input">
<label for="line-color">Number Lines Color</label>
<input type="color" value="#000000" id="line-color">
</div>
<div class="form-input">
<label for="large-hand-color">Large Hands Color</label>
<input type="color" value="#800000" id="large-hand-color">
</div>
<div class="form-input">
<label for="second-hand-color">Second Hand Color</label>
<input type="color" value="#FF7F50" id="second-hand-color">
</div>
<div class="form-input">
<button id="save-btn" type="submit">Save As Image</button>
</div>
</form>
</div>
<canvas id="canvas" width="500" height="500"></canvas>
<script src="script.js"></script>
</body>
</html>