-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
122 lines (119 loc) · 4.83 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!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">
<link rel="stylesheet" href="style.css">
<title>Survey Form</title>
</head>
<body>
<div class="container">
<header class="header">
<h1 class="title">freeCodeCamp Survey Form</h1>
<p class="description">Thank you for taking the time to help us improve the platform</p>
</header>
<form id="survey-form">
<!-- 3 input-types -->
<div class="form-group">
<label id="name-label" for="name">Name</label>
<input type="text" name="name" id="name" class="form-control" placeholder="Enter your name" required />
</div>
<div class="form-group">
<label id="email-label" for="email">Email</label>
<input type="email" name="email" id="email" class="form-control" placeholder="Enter your Email" required />
</div>
<div class="form-group">
<label id="number-label" for="number"> Age
<span class="clue">(optional)</span></label>
<input type="number" name="age" id="number" min="10" max="99" class="form-control" placeholder="Age" />
</div>
<!-- select-option -->
<div class="form-group">
<p>Which option best describes your current role?</p>
<select id="dropdown" name="role" class="form-control" required>
<option disabled selected value=" ">Select current role</option>
<option value="student">Student</option>
<option value="job">Full Time Job</option>
<option value="learner">Full Time Learner</option>
<option value="preferNo">Prefer not to say</option>
<option value="other">Other</option>
</select>
</div>
<!-- radio-buttons -->
<div class="form-group">
<p>
Would you recommend freeCodeCamp to a friend?</p>
<label>
<input type="radio" name="user-recommend" value="definitely" class="input-radio">Definitely</label>
<label>
<input type="radio" name="user-recommend" value="maybe" class="input-radio"> May be</label>
<label>
<input type="radio" name="user-recommend" value="notsure" class="input-radio">Not sure</label>
</div>
<!-- select-option -->
<div class="form-group">
<p> What is your favorite feature of freeCodeCamp?</p>
<select id="most-like" name=" most-like" class="form-control" required>
<option value=" " selected>Select an option</option>
<option value="challenges">Challenges</option>
<option value="projects">Projects</option>
<option value="community">Community </option>
<option value="openSource">Open source</option>
</select>
</div>
<!-- checkboxes-buttons -->
<div class="form-group">
<p>What would you like to see improved?
<span class="clue"> (Check all that apply)
</span>
</p>
<label>
<input type="checkbox" name="prefer" value="front-end-projects" class="input-checkbox">Front-end projects
</label>
<label>
<input type="checkbox" name="prefer" value="back-end-projects" class="input-checkbox">Back-end projects
</label>
<label>
<input type="checkbox" name="prefer" value="data-visualization" class="input-checkbox">Data Visualization
</label>
<label>
<input type="checkbox" name="prefer" value="challenges" class="input-checkbox">Challenges
</label>
<label>
<input type="checkbox" name="prefer" value="open-source-community" class="input-checkbox">Open-source Community
</label>
<label>
<input type="checkbox" name="prefer" value="gitter-help-rooms" class="input-checkbox">Gitter help rooms
</label>
<label>
<input type="checkbox" name="prefer" value="videos" class="input-checkbox">Videos
</label>
<label>
<input type="checkbox" name="prefer" value="city-meetups" class="input-checkbox">City meetups
</label>
<label>
<input type="checkbox" name="prefer" value="wiki" class="input-checkbox">Wiki
</label>
<label>
<input type="checkbox" name="prefer" value="forums" class="input-checkbox">Forums
</label>
<label>
<input type="checkbox" name="prefer" value="additional-courses" class="input-checkbox">Additional Courses
</label>
</div>
<!-- textarea -->
<div class="form-group">
<p>Any comments or suggestions?</p>
<textarea placeholder="Enter your comment here..." class="input-textarea">
</textarea>
</div>
<!-- submit-button -->
<div class="form-group">
<input type="submit" value="Submit" id="submit" class="submit-button" />
</div>
</form>
</div>
<!-- /container -->
</body>
</html>