-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (27 loc) · 1.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Simple Form</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div style = "margin:auto; width:500px;">
<h1 style = " text-align:center; ">Simple Form</h1>
<form onsubmit="return formValidate()" method="post">
<label for="fname">First Name </label>
<input type="text" id ="fname" value="" placeholder="pasindu">
<label for="lname">Last Name </label>
<input type="text" id ="lname" value="" placeholder="perera"><br>
<label for="email"> Email </label>
<input type="text" id ="email" value="" placeholder="[email protected]"><br>
<label for="DoB">Date of Birth</label>
<input type="date"><br>
<label for="password">Password</label><br>
<input type="password" id="password" placeholder="Password"><br>
<input type="password" id="confirmPassword" placeholder="Confirm Password"><br><br>
<input type="submit" value="Submit">
</form>
</div>
<script src="script.js"></script>
</body>
</html>