-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (27 loc) · 941 Bytes
/
index.html
File metadata and controls
27 lines (27 loc) · 941 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Clock angle problem</title>
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div class="clock">
<div class="hour-hand" id="hourHand"></div>
<div class="minute-hand" id="minuteHand"></div>
</div>
<div class="wrapper">
<label for="hour">hour:</label>
<input type="number" min="1" value="12" id="hour" />
<label for="minute">minute:</label>
<input type="number" min="0" value="0" id="minute" />
<button type="button" id="calcBtn">calculate angle</button>
</div>
<p id="angleBetween">
the measure of the smaller angle formed by the hands of the clock is: 0
</p>
<script src="./script.js"></script>
</body>
</html>