-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (46 loc) · 1.99 KB
/
index.html
File metadata and controls
56 lines (46 loc) · 1.99 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
</head>
<body>
<div class="container">
<div class="mainTitle">
Are You Bored???
</div>
<div class="break"></div>
<p>
This site uses the BoredAPI to give you suggestions on what to do with your time, how much it should cost and how many people you would need.
</p>
</div>
<div class="container">
<div class="options">
<form id="myForm" method="post" action="/index.js">
<caption>What type of activity would you like to do?</caption>
<br>
<select name="type" id="type">
<option value="education">Education</option>
<option value="recreational">Recreational</option>
<option value="social">Social</option>
<option value="diy">DIY</option>
<option value="charity">Charity</option>
<option value="cooking">Cooking</option>
<option value="relaxation">Relaxation</option>
<option value="music">Music</option>
<option value="busywork">Busy Work</option>
</select>
<br>
<button type="submit" id="but">Generate Activity</button>
<div id="answer"></div>
<div id="answer2"></div>
<div id="answer3"></div>
</form>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>