-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (66 loc) · 2.63 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Corey's Survey Form</title>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<header>
<h1 id="title"> Welcome to the survey</h1>
<p id="description">In this survey, you'll give me everything about you.</p>
</header>
<div class="container">
<form id="survey-form">
<div class="form-section">
<label name="name-label" for="name">
Name</label>
<input
type="text"
name="name-label"
id="name"
class="form-entry"
placeholder="Enter your name"
required
/> </div>
<div class="form-section">
<label for="email">Email</label>
<input id="email" class="form-entry" type="email" name="email-label" placeholder="Enter your email" required>
</div>
<div class="form-section">
<label for="number">
Age<span class="clue">(optional)</span></label>
<input id="number" class="form-entry" type="number" name="number-label" min="18" max="99" placeholder="Age">
</div>
<div class="form-section">
<label for="dropdown">
<p>Select your role:</p>
<select id="dropdown" name="role" class="form-entry">
<option value="student">Student</option>
<option value="unemployed">Unemployed</option>
<option value="employed">Employed</option>
</select>
</label>
</div>
<div class="form-section">
<p>
Would you recommend us to a friend?</p>
<label><input type="radio" class="input-radio" name="recommend" value="yes"> Yes</label><br>
<label><input type="radio" class="input-radio" name="recommend" value="no"> No</label><br>
<label><input type="radio" class="input-radio" name="recommend" value="maybe"> Maybe</label><br>
</div>
<div class="form-section">
<p>
What would you like to hear about from us? <span class="clue">(Check all that apply)</span></p>
<label><input type="checkbox" class="input-checkbox" name="followup" value="yes"> Yes</label><br>
<label><input type="checkbox" class="input-checkbox" name="followup" value="no"> No</label><br>
</div>
<div class="form-section">
<p>Do you have any additional comments?</p>
<textarea class="input-textarea" id="comments" name="comments" placeholder="Your feedback helps us improve.">
</textarea>
</div class="form-section">
<div class="form-section">
<input id="submit" class="button" type="submit" value="Submit">
</div class="form-section">
</form>
</div>
</html>