-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (70 loc) · 2.74 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SurveyForm</title>
<link rel="stylesheet" type="text/css" media="screen" href="form.css">
<script src="main.js"></script>
</head>
<body>
<div class="all">
<h1 id = "title">Survey Form</h1>
<p id = "description">This is a survey form for FreeCodeCamp usage</p>
<form id = "survey-form" action="">
<br>
<label id ="name-label" for="name">Name
<input id = "name" placeholder="name" type="text" required>
</label>
<br>
<label id ="email-label" for="email">Email
<input id="email" placeholder="email" type="email" required>
</label>
<br>
<label id = "number-label" for="number">Age
<input id="number" placeholder="1-4" type="number" min="1" max ="4" required>
</label>
<br>
<select id="dropdown" name="level" placeholder ="level">
<option value="hard"></option>
<option value="not hard">not hard</option>
<option value="easy">easy</option>
<option value="very easy">very easy</option>
</select>
<br>
<label for="">
<input value="js" type="radio" name ="Javascript">Javascript
</label>
<label for="">
<input value="Pi" type="radio" name ="Python">Python
</label>
<input value="js" type="radio" name ="Javascript">Javascript
</label>
<label for="">
<input value="Pi" type="radio" name ="Python">Python
</label>
<br>
<div class="rowTab">
<div class="labels">
<label for="preferences">What is your favourite language? <br>(select all that apply):</label>
</div>
<ul id="preferences" style="list-style: none;">
<li class="checkbox"><label><input name="prefer" value="1" type="checkbox" class="userRatings">Javascript</input></label></li>
<li class="checkbox"><label><input name="prefer" value="2" type="checkbox" class="userRatings">Python</input></label></li>
<li class="checkbox"><label><input name="prefer" value="3" type="checkbox" class="userRatings">Java</input></label></li>
<li class="checkbox"><label><input name="prefer" value="4" type="checkbox" class="userRatings">C++</input></label></li>
<li class="checkbox"><label><input name="prefer" value="5" type="checkbox" class="userRatings">Typescript</input></label></li>
</ul>
</div>
<br>
<label>For any additional questions feel free to leave a comment:</label>
<div id="message">
<textarea type="message" placeholder="Leave comments here"></textarea>
</div>
<br>
<input id ="submit" type="submit" value="Submit">
</form>
</div>
</body>
</html>