-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAmrit-DT1-SignUp-form.html
144 lines (137 loc) · 4.22 KB
/
Amrit-DT1-SignUp-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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!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>Amrit-Task1-Signup Form</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.12.0/jquery-ui.min.js"></script>
<style>
body{
margin:0;
}
form h1{
margin:0.5em 0;
}
.container{
max-width: 440px;
margin: 0 auto;
}
.input-form{
width:100%;
display: flex;
align-items: center;
margin-bottom: 0.6em;
}
.input-form label {
margin-right: auto;
}
.custom-form{
display: flex;
margin-bottom: 0.6em;
align-items:center;
}
.custom-form #label{
margin-right: auto;
}
form p{
font-size: 0.8em;
}
@media screen and (max-width:200px){
.input-form{
flex-direction: column;
}
.custom-form{
flex-direction: column;
}
}
</style>
</head>
<body>
<div class="container">
<form action="">
<h1>Sign Up</h1>
<div class="input-form">
<label for="fullname">Name:</label>
<input type="text" id="fullname" name="fullname" placeholder="Amrit Pandey"><br>
</div>
<div class="input-form">
<label for="username">Choose Username:</label>
<input type="text" id="username" name="username" placeholder="a-pandey"><br>
</div>
<div class="input-form">
<label for="email">Provide Active Email:</label>
<input type="email" id="email" name="email" placeholder="apandey@email.com"><br>
</div>
<div class="input-form">
<label for="password1">Choose Password</label>
<input type="password" id="password1" name="password1"><br>
</div>
<div class="input-form">
<label for="password2">Confirm Password</label>
<input type="password" id="password2" name="password2"><br>
</div>
<div class="input-form">
<label for="dob">Date of Birth</label>
<input type="text" id="dob" name="dob"><br>
</div>
<div class="custom-form">
<label id="label">Gender</label>
<label for="gender-male">Male</label>
<input type="radio" id="gender-male" name="gender" value="male">
<label for="gender-female">Female</label>
<input type="radio" id="gender-female" name="gender" value="female"><br>
</div>
<div class="custom-form">
<label id="label">Field of Expertees</label>
<select name="occupation" id="occupation">
<option value="null">Not Specified</option>
<optgroup label="Front-End Developer">
<option value="designer">Designer</option>
<option value="optimizer">Optimizer</option>
<option value="quality_assure">Quality Assurer</option>
</optgroup>
<optgroup label="Back-End Developer">
<option value="php_engineer">PHP Engineer</option>
<option value="node_expert">NodeJS Expert</option>
</optgroup>
</select><br>
</div>
<p>
By clicking Create an account, you agree to our Terms and confirm that you have read our Data Policy, including our Cookie Use Policy. You may receive SMS message notifications from Vivid Ciphers and can opt out at any time.
</p>
<button type="submit" id="submit">Create an Account</button>
</form>
</div>
<script>
$("input[type=radio]").button();
$("select").selectmenu();
$('input:text, input:password')
.button()
.css({
'font' : 'inherit',
'color' : 'inherit',
'text-align' : 'left',
'outline' : 'none',
'cursor' : 'text',
'backgroundColor':'#fff'
});
$("input[type=email]").button().css({
'font' : 'inherit',
'color' : 'inherit',
'text-align' : 'left',
'outline' : 'none',
'cursor' : 'text'
});
$("#buttonset").buttonset();
$("#dob").datepicker();
$("#submit").button().css({
'backgroundColor':'rgb(28, 106, 0)',
'font-size':'1.3em',
'color':'aliceblue'
});
</script>
</body>
</html>