-
Notifications
You must be signed in to change notification settings - Fork 1
/
signup.html
54 lines (47 loc) · 1.77 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
<!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="./styles/signup.css">
<link rel="stylesheet" href="./styles/navbar.css">
<link rel="stylesheet" href="./styles/footer.css">
<link rel="stylesheet" href="./styles/signin.css">
<link rel="stylesheet" href="./styles/all.min.css">
<script defer src="./scripts/all.min.js"></script>
</head>
<body>
<div id="navbar"></div>
<div id="content">
<div id="right">
<img src="https://assets.box8.co.in/images/Box8Banner.jpg" alt="">
</div>
<div id="left">
<div>
<h1>SIGN UP</h1>
<input id="name" type="text" placeholder="Name"><br>
<input id="mail" type="email" placeholder="Email"><br>
<input id="pass" type="password" placeholder="Password*"><br>
<p id="display_errors"></p>
<button id="cont" onclick="signup()">CONTINUE</button>
<p>By signing in,you agree to the <span>Terms and Conditions</span></p>
</div>
</div>
</div>
<div id="footerdiv"></div>
</body>
</html>
<script src="./scripts/signup.js"></script>
<script type="module">
import navbar from "./components/navbar.js";
import footer from "./components/footer.js";
let nav = document.getElementById("navbar");
nav.innerHTML = navbar();
let footerdiv = document.getElementById("footerdiv");
footerdiv.innerHTML=footer();
document.querySelector("#cart").addEventListener("click",function(){
window.location.href = "cart.html"
})
</script>