-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex4.html
More file actions
39 lines (30 loc) · 878 Bytes
/
index4.html
File metadata and controls
39 lines (30 loc) · 878 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
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<title>Parcel Sandbox</title>
<meta charset="UTF-8" />
</head>
<body>
<h1>Random Number Game</h1>
<div id="js-range">
<h2>Generate a number between 0 and 100</h2>
<input type="range" min="0" max="200" list="tickmarks" />
<datalist id="tickmarks">
<option value="0"></option>
<option value="50"></option>
<option value="100"></option>
<option value="150"></option>
<option value="200"></option>
</datalist>
</div>
<h2></h2>
<form id="js-form">
<span style="bold">Guess a number:</span>
<input id="js-text" type="text" required />
<input id="js-button" type="button" value="Play!" />
</form>
<h2></h2>
<div id="js-choice"></div>
<script src="src/index.js"></script>
</body>
</html>