-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsignup.html
132 lines (117 loc) · 7.09 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
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
<!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">
<link rel="icon" type="image/x-icon" href="./images/favicon.png">
<link rel="stylesheet" href="Signup.css" />
<link rel="stylesheet" href="./styles/navbar.css">
<link rel="stylesheet" href="./styles/homebody.css">
<title>Signup</title>
</head>
<body>
<div id="navbar_container">
<div id="navbar">
<div id="nav_left">
<img src="./imag/Beige and Green Vintage Modern Badge Hotels and Travel Logo.gif" id="logo_img"
style="width:100px; height:90px" />
</div>
<div id="nav_right">
<div class="nav_icon tooltip"><img src="./images/get-money.png" alt=""><span class="tooltiptext">Choose
Your Currency</span></div>
<div class="nav_icon tooltip"><img src="./images/india.png" alt=""><span class="tooltiptext">Select Your
Language</span></div>
<div class="nav_icon tooltip"><img src="./images/customer-support.png" alt=""><span
class="tooltiptext">Help and Support</span></div>
<button class="login_sign_btn" id="login_sign_btn1">List your Property</button>
<button class="login_sign_btn">Register</button>
<button class="login_sign_btn">Sign In</button>
</div>
</div>
</div>
<div class="login">
<div class="form">
<h2 class="formheading">Create an account</h2>
<form action="">
<label >Name</label>
<input class="input" placeholder="Enter your name" type="text" id="name" required >
<label for="">Mobile</label>
<input class="input" type="number" id="number" placeholder="Enter your Number" required>
<label>Email address</label>
<input class="input" type="email" placeholder="Enter email" id="email" required />
<label>Create Password</label>
<input class="input" type="password" placeholder="Create password" id="pass" required/>
<input class="button" id= "login_btn" type="submit" value="Sign Up">
</form>
</div>
<div class="line">
<hr class="hr" />
<p class="p">or use one of these options</p>
<hr class="hr" />
</div>
<div class="authlogin">
<button class="google">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAb1BMVEU6VZ////82Up4zUJ1UbKx4ibswTpyMmsQ5V6EtTJupss8nSJnN0+WVosgqSpo4U56eqcyDksDj5vBwgbb3+PxFXqNabqt9jb3S2OhidbC9xdy3v9l0hLjZ3etLY6bq7fTEyt4dQpdJYqekrs2uttK97JEgAAADFUlEQVR4nO3c2XLiMBBAUUZmM3IsFsNgSIAk/P83TsLzjCNbI3c3de9rqlw+BV7VZDIhIiIiIiIiIiIiIiIiIlJeCM4VxbzsrJDey8G50s/3h91ss3jp7LdJYii8262rbfPr545eem/753y9qWJwjypzwqJuT7E6i0JX7459fOaEvn3r5zMmLPy5r8+W0L9Gn15MCkO9GuAzJHSh9xFoS1hcrsOAVoTzdsghaEhYTAcDbQjdfjjQhDAshx6DRoShrhKAFoR+nQI0ICzaJKABYZlyEFoQ1p9pQPVCd0m4UJgQ+lsiULvQXVKB2oW+1ysZg8KwTAYqF5ZpF3sDQr99cqFLvJ3RL0y+2usXDnw1Y0YYUh58TQiL3X8Aql57Kvschs3xdF/9pftC8fphj3vSalZ6X5tbA/axJ5rtzhdBem+HVEeeaKq55s+po1DHAW/vJj+/yfdifdxX1OYX9LuwjxIejH5Fv3LTGOBJ8eXup+KEH056P4cXJby+S+9mQlHCUy29mwlFCddz6d1MKEq4sXsmjRTOEGoOIUL9IUSoP4QI9YcQof4QItQfQoT6Q4hQR27+78qYucRX37GFR7Jrb65ddBQz1Hbv2sCjpSixvEcgEitlhcN+cNenRnZxagThm+wK6ghC4TXiEYSr8tmFwstvIwhb2XX+EYR72St+fmEj6htDuBW+a8svPArPauQXnp9e+CI8jZJfKP38mF8ofDnML2wuwsOn2YVX6ena7MKt9PRpduHt6YUr6eHM7MKF9HBmduGr9OvU7MKp9BR4bmEjDcwulJ9zzy2U/+1hbqH0s1N+4afsq8QRhPKT/LmFB+kb7+xC6Tua7ELhdacRhOLPTtmFCv7ZQOY14LP4xWISlh2FqFkM17UF8VPpF7Hjb3HTJl2nSwXAzp5jnqYrhAj1hxCh/hAi1B9ChPpDiFB/CBHqDyFC/SFEqD+ECPWHEKH+ECLUH0KE+kOIUH8IEeoPIUL9IUSoP4QI9YcQof4QItQfQoT6Q4hQfwgR6g8hQv0hRKg/hAj1hxCh/hAi1B9ChD36A+1ASVvVoq0WAAAAAElFTkSuQmCC"
alt="img" />
</button>
<button class="google">
<img class="googleimage"
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSC-KxlZ9aqVMbPO3Ll49gBa3Ro245LV3KdLR2w4kQO4gy_PYVGJTPv4mBaJmVRNK4WPp4&usqp=CAU"
alt="" />
</button>
<button class="google">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Instagram_logo_2016.svg/198px-Instagram_logo_2016.svg.png?20210403190622"
alt="" />
</button>
</div>
<b>
<p style="color:rgb(0, 94, 255)">More ways to sign in<p>
</b>
<div class="line1">
<hr />
<p class="p1">
By signing in or creating an account, you agree with our
<a href="" style="text-decoration: none"><span style=color:blue;>Terms & Conditions</span></a> and
<a href="" style="text-decoration: none"><span style=color:blue;>Privacy Statement</span></a>
</p>
<hr />
</div>
<div class="line1">
<p class="p1">All rights reserved.</p>
<p class="p1">Copyright (2006-2022) - Booking.com™</p>
</div>
</div>
<div id="Footer_part4"><p>Booking.com is part of Booking Holdings Inc., the world leader in online travel and related services.</p></div>
<div id="Footer_part_5">
<img src="https://cf.bstatic.com/static/img/tfl/group_logos/logo_booking/27c8d1832de6a3123b6ee45b59ae2f81b0d9d0d0.png" alt="">
<img src="https://cf.bstatic.com/static/img/tfl/group_logos/logo_priceline/f80e129541f2a952d470df2447373390f3dd4e44.png" alt="">
<img src="https://cf.bstatic.com/static/img/tfl/group_logos/logo_kayak/83ef7122074473a6566094e957ff834badb58ce6.png" alt="">
<img src="https://cf.bstatic.com/static/img/tfl/group_logos/logo_agoda/1c9191b6a3651bf030e41e99a153b64f449845ed.png" alt="">
<img src="https://cf.bstatic.com/static/img/tfl/group_logos/logo_rentalcars/6bc5ec89d870111592a378bbe7a2086f0b01abc4.png" alt="">
<img src="https://cf.bstatic.com/static/img/tfl/group_logos/logo_opentable/a4b50503eda6c15773d6e61c238230eb42fb050d.png" alt="">
</div>
</body>
<script>
document.querySelector("form").addEventListener("submit", subfun);
var userStack = JSON.parse(localStorage.getItem("userDataBase")) || [];
function subfun(eve) {
eve.preventDefault();
var name = document.querySelector("#name").value;
var number = document.querySelector("#number").value;
var email = document.querySelector("#email").value;
var pass = document.querySelector("#pass").value;
var userData = {
name:name,
number:number,
emailAdd: email,
passwd: pass,
};
userStack.push(userData);
localStorage.setItem("userDataBase", JSON.stringify(userStack));
console.log(userStack)
alert("signup success");
window.location.href = "login.html";
}
</script>
</html>