-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount.html
133 lines (130 loc) · 5.93 KB
/
account.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Account - fitbasket</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<script type="text/javascript" src="main.js"></script>
</head>
<body>
<div class="header">
<div class="container">
<div class="navbar">
<div class="logo">
<a href="index.html"><img src="images/fitbasket.png" alt="logo" width="125px"></a>
</div>
<nav>
<ul id="MenuItems">
<li><a href="index.html">Home</a></li>
<li><a href="products.html">Products</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="account.html">Account</a></li>
</ul>
</nav>
<a href="cart.html"><img src="images/cart.png" alt="cart" width="30px" height="30px"></a>
<img src="images/menu.png" alt="menu" class="menu" onclick="menutoggle()">
</div>
</div>
</div>
<!--account page-->
<div class="account-page">
<div class="container">
<div class="row">
<div class="col-2">
<a href="products-detail.html"></a><img src="images/image1.png" alt="" width="100%">
</div>
<div class="col-2">
<div class="form-container">
<div class="form-btn">
<span onclick="login()">Login</span>
<span onclick="register()">Register</span>
<hr id="indicator">
</div>
<form id="loginform">
<input type="text" placeholder="Username">
<input type="password" placeholder="Password">
<button type="submit" class="btn">Login</button>
</form>
<form id="regform" name="sheet" method="POST">
<input type="text" name="Name" placeholder="Username">
<input type="email" name="email" placeholder="Email">
<input type="password" name="password" placeholder="Password">
<button type="submit" class="btn">Register</button>
</form>
</div>
</div>
</div>
</div>
</div>
<!--footer-->
<div class="footer">
<div class="container">
<div class="row">
<div class="footer-col-1">
<h3>Download Our App</h3>
<p>Download our app for Android and ios mobile phone</p>
<div class="app-logo">
<a href="https://play.google.com/store"><img src="images/play-store.png" alt=""></a>
<img src="images/app-store.png" alt="">
</div>
</div>
<div class="footer-col-2">
<h3>Useful links</h3>
<ul>
<a href="coming-soon.html"><li>Coupons</li>
<li>Blog post</li>
<li>Return Policy</li></a>
</ul>
</div>
<div class="footer-col-3">
<h3>Follow us</h3>
<ul>
<a href="https://www.facebook.com/"><li>Facebook <i class="fa fa-facebook-official" aria-hidden="true"></i>
</li></a>
<a href="https://twitter.com/?lang=en"><li>Twitter <i class="fa fa-twitter-square" aria-hidden="true"></i>
</li></a>
<a href="https://www.instagram.com/"><li>Instagram <i class="fa fa-instagram" aria-hidden="true"></i>
</li></a>
</ul>
</div>
</div>
<hr>
<p class="copyright"><i class="fa fa-copyright" aria-hidden="true">Copyright 2021-All rights reserved</i></p>
</div>
</div>
<script>
var MenuItmes = document.getElementById("MenuItems")
MenuItems.style.maxHeight = "0px";
function menutoggle(){
if(MenuItems.style.maxHeight == "0px")
{
MenuItems.style.maxHeight = "200px"
}
else
{
MenuItems.style.maxHeight = "0px"
}
}
</script>
<script>
var loginform = document.getElementById("loginform");
var regform = document.getElementById("regform");
var indicator = document.getElementById("indicator");
function register(){
regform.style.transform = "translateX(0px)";
loginform.style.transform = "translateX(0px)";
indicator.style.transform = "translateX(100px)";
}
function login(){
regform.style.transform = "translateX(300px)";
loginform.style.transform = "translateX(300px)";
indicator.style.transform = "translateX(0px)";
}
</script>
</body>
</html>