-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdating-website.html
More file actions
103 lines (98 loc) · 4.38 KB
/
Copy pathdating-website.html
File metadata and controls
103 lines (98 loc) · 4.38 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Margot's Dating Site</title>
<link rel="stylesheet" href="css/dating.css">
</head>
<body>
<h1>Enter Your Details For Our Dating Website</h1>
<form action="https://us-central1-nucamp-production.cloudfunctions.net/post/formdata" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Your Face</legend>
<div>
<label for="avatar">Upload Your Image:</label>
<input type="file" id="avatar" name="avatar" required>
</div>
<p>
Image Preview:<img id="preview" width="500">
</p>
</fieldset>
<fieldset>
<legend>Your Details</legend>
<div>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="Your full name" required>
</div>
<div>
<label for="Gender">Gender:</label>
<input type="radio" id="woman" name="gender" value="woman" required>
<label for="woman">Woman</label>
<input type="radio" id="man" name="gender" value="name">
<label for="man">Man</label>
<input type="radio" id="transwoman" name="gender" value="transwoman" required>
<label for="transwoman">Transwoman</label>
<input type="radio" id="transman" name="gender" value="transman" required>
<label for="transman">Transman</label>
<input type="radio" id="nonbinary" name="nonbinary" value="nonbinary" required>
<label for="nonbinary">Non-Binary</label>
</div>
<div>
<label for="age">Age:</label>
<input type="number" id="age" name="age">
</div>
<div>
<label for="dob" id="dob">Date of Birth:</label>
<input type="date" id="dob" name="dob">
</div>
<div>
<label for="color">Favorite Color:</label>
<input type="color" id="color" name="color">
</div>
<div>
<label for="country">Country:</label>
<select id="country" name="country">
<option>Choose a country</option>
<option value="brazil">Brazil</option>
<option value="france">France</option>
<option value="japan">Japan</option>
<option value="libya">Libya</option>
<option value="usa">U.S.A.</option>
</select>
</div>
<div>
<label for="salary">Salary:</label>
<span class="range-caption">Poor</span>
<input type="range" id="salary" name="salary" min="0" max="100" value="50">
<span class="range-caption">Rich</span>
</div>
</fieldset>
<fieldset>
<legend>Your Contact Information</legend>
<div>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
</div>
<div>
<label for="phone">Phone:</label>
<input for="tel" id="phone" name="phone">
</div>
<div>
<label for="address">Address:</label>
<textarea cols="40" id="address" name="address"></textarea>
</div>
<div>
<label>Contact Method(s):</label>
<input type="checkbox" name="contact" id="emailCheckbox" value="email">
<label for="emailCheckbox">Email:</label>
<input type="checkbox" name="contact" id="phoneCheckbox" value="phone">
<label for="phoneCheckbox">Phone:</label>
</div>
</fieldset>
<div>
<input type="submit">
</div>
</form>
<script src="https://url.nucamp.co/datingjs"></script>
</body>
</html>