-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (52 loc) · 2.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Registration Form</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Registration Form</h1>
<p>Please fill out this form with the required information</p>
<form method="post" action="https://register-demo.freecodecamp.org">
<fieldset>
<label for="first-name">Enter Your First Name: <input required name="first-name" id="first-name"
type="text"></label>
<label for="last-name">Enter Your Last Name: <input required name="last-name" id="last-name"
type="text"></label>
<label for="email">Enter Your Email: <input required name="email" id="email" type="email"></label>
<label for="new-password">Create a New Password: <input required name="new-password" id="new-password"
type="password" pattern="[a-z0-5]{8}"></label>
</fieldset>
<fieldset>
<label for="personal-account"><input class="inline" name="account-type" type="radio" id="personal-account">
Personal Account
</label>
<label for="business-account"><input class="inline" name="account-type" type="radio" id="business-account">
Business Account
</label>
<label for="terms-and-conditions"><input class="inline" required type="checkbox"
name="terms-and-conditions"> I accept the <a
href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a> </label>
</fieldset>
<fieldset>
<label for="profile-picture">Upload a profile picture: <input name="profile-picture" type="file"
id="profile-picture"></label>
<label for="age">Input your age (years): <input name="age" type="number" min="13" max="120"
id="age"></label>
<label for="referrer"> How did you hear about us?
<select name="referrer" id="referrer">
<option value="">(select one)</option>
<option value="1">freeCodeCamp News</option>
<option value="2">freeCodeCamp YouTube Channel</option>
<option value="3">freeCodeCamp Forum</option>
<option value="4">Other</option>
</select>
</label>
<label for="bio">Provide a bio: <textarea name="bio" id="bio" rows="3" cols="30"
placeholder="I like coding on the beach..."></textarea></label>
</fieldset>
<input name="submit" type="submit" value="Submit">
</form>
</body>
</html>