-
Notifications
You must be signed in to change notification settings - Fork 1
/
formSignUp.html
109 lines (89 loc) · 3.76 KB
/
formSignUp.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>form</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
</head>
<body>
<header>
<h1>Signup page</h1>
</header>
<nav></nav>
<main>
<form>
<div>
<label for="firstname">firstname</label><br>
<input type="text " id="firstname" name="user_first_name" required minlength="3" maxlength="10">
</div>
<div>
<label for="lastname">lastname</label><br>
<input type="text " id="lastname" name="user_last_name" required minlength="3" maxlength="10">
</div>
<div>
<label for="email">email</label><br>
<input type="email " id="email" name="user_email" required>
</div>
<div>
<label for="password">password</label><br>
<input type="password" id="password" name="user_password" required minlength="5" maxlength="8">
</div>
<div>
<label for="confirm_password">Confirm password</label><br>
<input type="password" id="confirm_password" name="user_confirm_password" required minlength="5" maxlength="8">
</div>
<div>
<button type="submit" id="submit" value="submit" name="submit" onclick="alert('do you want to submit')" >signup</button>
</div>
<style>
input:focus:invalid{
border: 4px solid red;
}
</style>
<fieldset id="size">
<label>
<input type="radio" value="2" name="size"> 2-person
</label>
<label>
<input type="radio" value="4" name="size" checked> 4-person
</label>
<label>
<input type="radio" value="6" name="size"> 6-person
</label>
</fieldset>
<fieldset id="location">
<legend>CHOOSE LOCATIONS</legend>
<label>
<input type="radio" value="indoor" name="location" checked> indoor</label>
<label>
<input type="radio" value="outdoor" name="location"> outdoor</label>
</fieldset>
<button type="submit">book table</button>
<label>
<input type="file" id="gallery" name="gallery" multiple></label><!--to choose multiple files or to upload multiple files -->
<div>
<label>booking_date</label>
<input type="date" id="booking_date" name="booking_date">
</div>
<div>
<label for="booking_people"> no of people</label>
<input type="range" id="booking_people" name="booking_people" min="1" max="10" value="4" oninput="this.nextElementSibling.value=this.value">
<output>4</output>
</div>
<div>
<label for="booking_location">location </label>
<input list="locations" id="booking_location" name="booking_location" >
<datalist id="locations">
<option value="downtown">
<option value="uptown">
</datalist>
</div>
</form>
</main>
<footer>© copyright to coorporation </footer>
<script src="" async defer></script>
</body>
</html>