-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
45 lines (36 loc) · 1.35 KB
/
form.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
<!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">
<title>Document</title>
</head>
<body>
<header>
<!--might need to take this out-->
<nav>
<a href="/lab-one">Home</a>
</nav>
</header>
<form method="POST" action="http://localhost:3000/profile">
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname"><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname"><br>
<label for="Genre">Types of videogames you like:</label><br>
<input type="radio" id="Horror">Horror<br>
<input type="radio" id="Fantasy">Fantasy<br>
<input type="radio" id="Sci-fi">Sci-Fi<br>
<input type="radio" id="Adventure">Adventure<br>
<input type="radio" id="Action">Action<br>
<label for="Genre">Game mechanics you like:</label><br>
<input type="checkbox" id="rpg">RPG<br>
<input type="checkbox" id="ss">Side scroller<br>
<input type="checkbox" id="ow">Open-World<br>
<input type="checkbox" id="sim">Simulation<br>
<input type="checkbox" id="fps">First-person shooter<br>
<button type="submit">Submit form</button>
</form>
</body>
</html>