-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
79 lines (53 loc) · 2.34 KB
/
form.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
<!DOCTYPE html>
<html lang="en">
<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>Social poll</title>
</head>
<body>
<h1>This is a social poll about books</h1>
<p>Please, answer honestly!</p>
<form method="POST" action="https://formspree.io/[email protected]">
<label>Do you like reading books?</label><br>
<label><input type="radio" name="liking" value="yes">Yes</label>
<label><input type="radio" name="liking" value="no">No</label>
<br>
<label>What is your gender?</label> <br>
<label><input type="radio" name="gender" value="male">Male</label>
<label><input type="radio" name="gender" value="female">Female</label>
<label><input type="radio" name="gender" value="other">Other</label>
<br>
<label>What are your favourite genres?</label> <br>
<label><input type="checkbox" value="Fantasy">Fantasy</label>
<label><input type="checkbox" value="Science-fiction">Science fiction</label>
<label><input type="checkbox" value="Western">Western</label>
<label><input type="checkbox" value="Romance">Romance</label>
<label><input type="checkbox" value="Thriller">Thriller</label>
<label><input type="checkbox" value="Mystery">Mystery</label>
<label><input type="checkbox" value="Detective-story">Detective story</label>
<label><input type="checkbox" value="Dystopia">Dystopia</label>
<br>
<label>What is your favourite book? <input type="text"></label>
<br>
<label>What colour of book's cover do you like? <input type="color"></label>
<br>
<label for="character">Choose character with whome will you read the book:</label>
<select id="character">
<option value="">--Please choose an option--</option>
<option value="killer">Killer</option>
<option value="dog">Dog</option>
<option value="little-girl">Little girl</option>
</select>
<br>
<label>How much books do read during one month? <input type="number" name="amount-of-books" min="0"></label>
<br>
<label>When did you start to red your last book? <input type="date" name="book-start"></label>
<br>
<label>Enter your email, please: <input type="email"></label>
<br>
<input type="submit" value="Send">
</form>
</body>
</html>