-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
69 lines (63 loc) · 2.56 KB
/
signup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
<link rel="stylesheet" href="style2.css">
</head>
<body>
<div class="bg-image"></div>
<header class="header">
<a href="#" class="logo"></i> homeflora </a>
<nav class="navbar">
<a href="./index.html">Home</a>
<a href="#buy">Buy</a>
<a href="#sell">Sell</a>
<a href="#rent">Rent</a>
<a href="#sign in">Sign up</a>
<a href="./login.html">Log in</a>
</nav>
</header>
<div class="bg-text">
<div class="cell">
<div class="h1">
<h1>SignUp</h1>
</div>
<label class="switch">
<input type="checkbox" onclick="change()" checked>
<span class="slider round"></span>
</label>
</div>
<form action="" method="get">
<br>
<br>
<input type="text" name="firstname" id="fname" required placeholder="first name">
<input type="text" name="middlename" id="mname" placeholder="middle name">
<input type="text" name="lastname" id="lname" required placeholder="last name">
<br>
<br>
<input type="date" name="DOB" id="DOB" required pattern="\d{1,2}/\d{1,2}/\d{4}">
<br>
<br>
<input type="Email" class="input" placeholder="Email" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" title="Invalid email address" />
<br>
<br>
<input type="password" class="input" name="password" id="password" placeholder="password" required pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="Invalid Password">
<br>
<br>
<textarea name="address" id="address" cols="40" rows="3" placeholder="Current Address" required></textarea>
<br>
<br>
<input type="submit" class="submit">
</form>
</div>
<script>
function change(){
window.open("login.html","_self")
}
</script>
</body>
</html>