-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (75 loc) · 2.95 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>
<body>
<form action="https://mate-academy-form-lesson.herokuapp.com/create-application" method="post">
<h1>Dear user, can you provide more information about yourself?</h1>
<fieldset class="fieldset">
<legend>Personal information</legend>
<label for="surname">Surname:</label>
<input class="row" type="text" id="surname" name="surname">
<br>
<label for="name">Name:</label>
<input class="row" id="name" type="text" name="name">
<br>
<label for="age">How old are You?</label>
<input type="number" class="row" id="age" name="age" min="1" max="100" value="18">
<br>
<label for="birthday">Full date of birth:</label>
<input type="date" class="row" id="birthday" name="birthday">
<br>
<label for="accepted">I accept the term of the agreement</label>
<input name="accepted" class="row" id="accepted" type="checkbox" value="yes" required>
</fieldset>
<fieldset class="fieldset">
<legend>Registration</legend>
<label for="email">E-mail:</label>
<input type="email" id="email" name="email" placeholder="[email protected]" required>
<br>
<br>
<label for="pass">Password:</label>
<input type="password" class="row" id="pass" name="password" minlength="6" maxlength="30" required>
</fieldset>
<fieldset class="fieldset">
<legend>An interesting fact about you!</legend>
<label for="cats">Do you love cats?</label>
<input class="row" type="radio" id="cats-yes" name="cats" value="yes">
<label for="cats-yes">Yes</label>
<input class="row" type="radio" id="cats-no" name="cats" value="no">
<label for="cats-no">No</label>
<br>
<label for="color">What is your favorite color?</label>
<input class="row" type="color" id="color" name="color">
<br>
<label for="time">What time do you go to bed?</label>
<input class="row" id="time" type="time" name="time" step="2">
<br>
<label for="cars">What are your favorite brand of cars?</label>
<select class="row" id="cars" name="cars" multiple size="3">
<option value="bmw">BMW</option>
<option value="audi">Audi</option>
<option value="skoda">Skoda</option>
</select>
<br>
<label for="rate">How do you rate our work?</label>
<input class="row" type="range" id="rate" name="rate" min="0" max="5" step="1" value="0">
</fieldset>
<fieldset class="fieldset">
<legend>Additional info:</legend>
<label for="comments">Comments:</label>
<textarea id="comments" name="comments" rows="2" cols="20"></textarea>
<br>
<label for="recommend">Would you recommend us?</label>
<select class="row" id="recommend" name="recommend">
<option value="yes">yes</option>
<option value="no">no</option>
</select>
</fieldset>
<button type="submit">Submit</button>
</body>
</html>