-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsignup.html
150 lines (146 loc) · 6.94 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!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">
<!--CSS-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="css/Login.css">
<title>ShoesStore</title>
</head>
<body>
<!-- Header -->
<header class="l-header" id="header">
<nav class="nav bd-container">
<div class="nav__toggle" id="nav-toggle">
<i class='bx bx-menu'></i>
</div>
<a href="index.html" class="nav__logo">ShoesStore</a>
<div class="nav__menu" id="nav-menu">
<ul class="nav__list">
<li class="nav__item"><a href="index.html" class="nav__link">Home</a></li>
<li class="nav__item"><a href="AboutUs.html" class="nav__link">About</a></li>
<li class="nav__item"><a href="product.html" class="nav__link">Product</a></li>
<li class="nav__item"><a href="Contact.html" class="nav__link">Contact</a></li>
</ul>
</div>
<div class="nav_shop">
<a href="#" class="nav__icon">
<i class='bx bxs-user-circle' ></i>
</a>
<div class="nav__shop-content">
<div class="btn-checkout">
<li><i class='bx bxs-log-in-circle' ><a href="login.html"> LOG IN</a></i></li>
</div>
</div>
</div>
</nav>
</header>
<!-- Header -->
<main style="background-color: #ABD9FF;">
<div class="container-fluid p-3 mt-5">
<div class="row">
<div class="col-sm-9 col-md-7 col-lg-4 mx-auto">
<div class="card bg-whiteborder-0 shadow rounded-3 my-5">
<div class="card-body p-4 p-sm-5">
<h2 class="card-title text-center mb-5 fw-bold text-dark"
style="font-family: cursive;">Sign up</h2>
<form method="post" onsubmit="return validation1()">
<div class="input-group mb-3">
<input class="form-control" id="username" name="username" placeholder="Username"
value="" required>
</div>
<div class="input-group mb-3">
<input class="form-control" id="username" name="username" placeholder="Email"
type="email" value="" required>
</div>
<div class="input-group mb-3">
<input type="password" class="form-control" id="password2" name="password"
placeholder="Password" value="" required>
</div>
<div class="input-group mb-3">
<input type="password" class="form-control" id="password" name="password"
placeholder="Re-Password" value="" required>
</div>
<div class="text-center mb-3">
<small class="text-dark">
Have an account? <a href="login.html">Sign In</a>
</small>
</div>
<div class="d-grid">
<button class="btn btn-primary btn-login text-uppercase fw-bold"
type="submit">Sign
Up</button>
</div>
<hr class="my-3">
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="footer section bd-container" style="margin-top: 20px;">
<div class="footer__container bd-grid">
<div class="footer__content">
<a href="#" class="footer__logo">Shoes</a>
<span class="footer__description">Store</span>
<div>
<a href="#" class="footer__social"><i class='bx bxl-facebook-circle'></i></a>
<a href="#" class="footer__social"><i class='bx bxl-instagram' ></i></a>
<a href="#" class="footer__social"><i class='bx bxl-twitter' ></i></a>
</div>
</div>
<div class="footer__content">
<h3 class="footer__title">AboutUs</h3>
<p>Shoes Store is a website that is engaged in the sale of shoes, which has several types of sneakers for: Children's Shoes, Women's Shoes and Men's Shoes.</p>
</div>
<div class="footer__content">
<h3 class="footer__title">Contact</h3>
<p>If you want to buy shoes in our store, contact us and we will immediately serve you with service 24/7</p>
</div>
<div class="footer__content">
<h3 class="footer__title">Adress</h3>
<ul>
<li>Jl. Doang Jadian Kagak KM 12.8</li>
<li>Bogor 16913 - Indonesia</li>
<li>Phone : +62812xxxxx</li>
<li>Whatsapp : 08211xxxxx</li>
</ul>
</div>
</div>
<p class="footer__copy">© 2022 Group 4. All right reserved</p>
</footer>
<script>
function validation1() {
var pww1 = document.getElementById("password2").value;
var pww2 = document.getElementById("password").value;
if (pww1 != pww2) {
Swal.fire({
icon: 'error',
title: 'Registration Unsuccessful',
text: 'Your password did not match!!'
})
return false;
} else {
Swal.fire({
icon: 'success',
title: 'Registration Successful',
text: 'Now you can login/sign in!!'
}).then(function () {
window.location = "login.html";
});
return false;
}
}
</script>
<!--link java script -->
<script src="js/Main.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>