-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
83 lines (76 loc) · 2.85 KB
/
contact.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,intitial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles.css">
<title>Contact</title>
</head>
<body>
<div class="nav">
<ul class="nav-list">
<li><a class="nav-item h1" href="index.html">Home</a></li>
<li><a class="nav-item h1 a" href="contact.html"> Assignment #1 </a></li>
<li><a class="nav-item h1 a" href="asg2/index.html"> Assignment #2 </a></li>
<li><a class="nav-item h1 a" href="assignment3/index.html"> Assignment #3 </a></li>
<li><a class="nav-item h1 a" href="contact.html">Contact Form</a></li>
<li><a class="nav-item h1 a" href=""> About </a></li>
</ul>
</div>
<div class="container">
<div class="questions">
<h1>Questionnaire:</h1>
<h3>Fill out this quick and fun questionnaire. Click submit when finished.</h3><br>
<!-- Name -->
<form>
<label for="fname">First name:</label><br>
<input type="text" id="firstname" name="firstname"><br>
</form><br>
<!-- Favorite Junk Food -->
<!-- Question -->
<label for="jfood">What is your favorite junk food:</label><br>
<!-- Answer -->
<select id="jfood">
<option value="burgers">Burgers</option>
<option value="chicken">Chicken Wings</option>
<option value="frchicken">Fried Chicken</option>
<option value="chinese">Fast Chinese Food</option>
<option value="mexican">Fast Mexican Food</option>
<option value="donuts">Donuts</option>
<option value="cake">Cake</option>
<option value="pie">Pie</option>
<option value="ramen">Instant Ramen</option>
<option value="cookies">Cookies</option>
<option value="other">Other</option>
</select>
<!-- Other Junk Food -->
<form>
<label for="junkfood">If you selected other, enter your favorite junk food here:</label><br>
<input type="text" id="junkfood" name="junkfood"><br>
</form><br>
<!-- Favorite Sport -->
<p>Choose your favorite Sport:</p>
<form>
<input type="radio" id="baseball" name="fav_sport" value="baseball">
<label for="baseball">Baseball</label><br>
<input type="radio" id="basketball" name="fav_sport" value="basketball">
<label for="basketball">Basketball</label><br>
<input type="radio" id="football" name="fav_sport" value="football">
<label for="football">Football</label><br>
<input type="radio" id="soccer" name="fav_sport" value="soccer">
<label for="soccer">Soccer</label><br>
<input type="radio" id="tennis" name="fav_sport" value="tennis">
<label for="tennis">Tennis</label><br>
<input type="radio" id="golf" name="fav_sport" value="golf">
<label for="golf">Golf</label>
</form><br><br>
<form>
<input type="submit" value="Submit">
</form>
</div>
</div>
<footer style="color: white">
© 2021 BRIAN RIOS
</footer>
</body>
</html>