-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (60 loc) · 3.19 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
<!DOCTYPE html>
<html>
<head>
<title>Survey Form</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<h1 id="title">Survey Form</h1>
<p id="description">Please fill out this form with the required information</p>
<form id="survey-form"action='https://register-demo.freecodecamp.org'>
<fieldset>
<label id="name-label">Enter Your First Name: <input type="text" name="first-name" id="name"required placeholder="Enter Your First Name" /></label>
<label>Enter Your Last Name: <input type="text" name="last-name" required placeholder="Enter Your Last Name" /></label>
<label id="email-label">Enter Your Email: <input type="email" name="email" id="email" placeholder="Enter your email"required /></label>
<label>Create a New Password: <input type="password" name="password" pattern="[a-z0-5]{8,}" required /></label>
</fieldset>
<fieldset>
<p id="description">Would you recommend Harry Potter to a friend?</p>
<label><input type="radio" name="account-type" class="inline" value="account-type"/> Yes</label>
<label><input type="radio" name="account-type" class="inline" value="account-type" /> No</label>
<label>
<label><input type="radio" name="account-type" class="inline" value="account-type" /> Maybe</label>
<label>
<p id="description">Who are your favourite Harry Potter characters? (Check all that apply)</p>
<input type="checkbox" name="terms" class="inline" required value="terms"/> Harry Potter
</label>
<label>
<input type="checkbox" name="terms" class="inline" required value="terms"/> Ron Weasley
</label>
<label>
<input type="checkbox" name="terms" class="inline" required value="terms"/> Hermione Granger
</label>
<label>
<input type="checkbox" name="terms" class="inline" required value="terms"/> Fred Weasley
</label>
<label>
<input type="checkbox" name="terms" class="inline" required value="terms"/> George Weasley
</label>
</fieldset>
<fieldset>
<label>Upload a profile picture: <input type="file" name="file" /></label>
<label id="number-label">Input your age (years): <input id="number" type="number" name="age" min="13" max="120" placeholder="Enter your age"/>
</label>
<label>Which house are you in?
<select id="dropdown" name="referrer">
<option value="">(select one)</option>
<option value="1">Gryffindor</option>
<option value="2">Hufflepuff</option>
<option value="3">Ravenclaw</option>
<option value="4">Slytherin</option>
</select>
</label>
<label>Provide a brief paragraph on what you love about Harry Potter:
<textarea name="bio" rows="3" cols="30" placeholder="I like Harry Potter because..."></textarea>
</label>
</fieldset>
<input type="submit" value="Submit" id="submit"/>
</form>
</body>
</html>