-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (87 loc) · 3.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<title>Survey Form</title>
</head>
<body>
<h1 id="title">Survey Form</h1>
<p id="description">Thanks for taking part in this survey.<br>It helps us to improve the platform</p>
<form id="survey-form">
<div>
<label id="name-label" for="name">Name</label>
<input type="text" id="name" placeholder="Enter your name" required>
</div>
<div>
<label id="email-label" for="email">E-Mail</label>
<input type="email" id="email" placeholder="Enter your E-Mail" required>
</div>
<div>
<label id="number-label" for="number">Age <em>(optional)</em></label>
<input type="number" id="number" placeholder="Age" min="18" max="99">
</div>
<div>
<p>What's your current role?</p>
<select id="dropdown" 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>
<div>
<p>Would you recommend freeCodeCamp to a friend?</p>
<label>
<input name="user-recommend" value="definitely" type="radio">
Definitely
</label>
<label>
<input name="user-recommend" value="maybe" type="radio" checked>
Maybe
</label>
<label>
<input name="user-recommend" value="not-sure" type="radio">
Not sure
</label>
</div>
<div>
<p>What would you like to see improved?</p>
<label>
<input name="prefer" value="front-end-projects" type="checkbox">
Front-end Projects
</label>
<label>
<input name="prefer" value="back-end-projects" type="checkbox">
Back-end Projects
</label>
<label>
<input name="prefer" value="data-visualization" type="checkbox">
Data Visualization
</label>
<label>
<input name="prefer" value="videos" type="checkbox">
Videos
</label>
<label>
<input name="prefer" value="wiki" type="checkbox">
Wiki
</label>
<label>
<input name="prefer" value="open-source-community" type="checkbox">
Open Source Community
</label>
</div>
<div>
<p>Any comments or suggestions?</p>
<textarea id="comments" name="comment" placeholder="Enter your comment here..."></textarea>
</div>
<div>
<button type="submit" id="submit">Submit</button>
</div>
</form>
</body>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</html>