-
Notifications
You must be signed in to change notification settings - Fork 8
/
edul.htm
61 lines (60 loc) · 2.29 KB
/
edul.htm
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
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="http://eduladder.com/images/app/logo.jpg" />
<title>Eduladder Signup</title>
</head>
<body>
<img src="http://eduladder.com/images/app/logo.jpg" alt = "Eduladder">
<font size="6"><i>|| Students stress our Priority || </i></font>
<br></br>
<label><b><font size="4">Fill the following form to get onboard :- </font></b></label>
<br></br>
<label><b>First Name : </b></label>
<input type = "text" placeholder="Enter first name" required style="border-radius:7px; border:2px solid #dadada;" >
<br></br>
<label><b>Last Name : </b></label>
<input type = "text" placeholder="Enter last name" required style="border-radius:7px; border:2px solid #dadada;" >
<br></br>
<label><b>Username : </b></label>
<input type = "text" placeholder="Enter Username" required style="border-radius:7px; border:2px solid #dadada;" >
<br></br>
<label><b>E-mail : </b></label>
<input type = "text" placeholder="Enter email" required style="border-radius:7px; border:2px solid #dadada;" >
<br></br>
<form action="/action_page.php">
<b>D.O.B : </b>
<input type="date" name="DOB" style="border-radius:7px; border:2px solid #dadada;" >
</form>
<br></br>
<label><b>Password : </b></label>
<br></br>
<input id="pass1" type="password" placeholder="Password" style="border-radius:7px; border:2px solid #dadada;" /> <br />
<input id="pass2" type="password" placeholder="Confirm Password" style="border-radius:7px; border:2px solid #dadada;"/> <br />
<script>
function myFunction() {
var pass1 = document.getElementById("pass1").value;
var pass2 = document.getElementById("pass2").value;
var ok = true;
if (pass1 != pass2) {
//alert("Passwords Do not match");
document.getElementById("pass1").style.borderColor = "#E34234";
document.getElementById("pass2").style.borderColor = "#E34234";
ok = false;
}
else {
alert("Passwords Match!!!");
}
return ok;
}
</script>
<br></br>
<form action="demo_form.asp">
<input type="checkbox" name="agree" value="yes"> I agree to the Terms of Use and Privacy Policy. <br>
</form>
<br></br>
<button type="button" onclick="myFunction()">Sign up</button>
<br></br>
</body>
</html>
<!made by Satya Shiromani>