Skip to content

Commit

Permalink
Merge pull request #12 from senorita17/main
Browse files Browse the repository at this point in the history
added a login page and hyperlinks to other pages
  • Loading branch information
AbhineshJha authored Oct 24, 2023
2 parents 53cfe8b + 68048ee commit 10a8b4d
Show file tree
Hide file tree
Showing 10 changed files with 115 additions and 24 deletions.
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Chrome",
"port": 9222,
"request": "attach",
"type": "chrome",
"webRoot": "${workspaceFolder}"
},
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
2 changes: 1 addition & 1 deletion Css/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

a {
text-decoration: none;
color: black;
color: rgb(242, 49, 49);
/* padding: 18px ; */
}

Expand Down
2 changes: 1 addition & 1 deletion Css/contactform.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ padding-top: 20px;

a {
text-decoration: none;
color: black;
color: rgb(233, 31, 31);
/* padding: 18px ; */
}

Expand Down
2 changes: 1 addition & 1 deletion Css/product.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
a{
text-decoration: none;
color: black;
color: rgb(235, 41, 41);
}
a:hover{
font-weight: bold;
Expand Down
2 changes: 1 addition & 1 deletion Css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

a {
text-decoration: none;
color: black;
color: rgb(234, 37, 37);
/* padding: 18px ; */
}

Expand Down
10 changes: 5 additions & 5 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ <h1>Best Quality</h1>
<div class="menu1">
<h2 style="font-size: 25px;">MENU</h2>
<br><br>
<p>HOME</p><br>
<p>ABOUT</p><br>
<p>SERVICES</p><br>
<p><a href="index.html">HOME</a></p><br>
<p><a href="about.html">ABOUT</a></p><br>
<p><a href="product.html">SERVICES</a></p><br>
<p>BLOG</p><br>
<p>CONTACT</p>
<p><a href="contactform.html">CONTACT</a></p>
</div>

</div>
Expand All @@ -83,7 +83,7 @@ <h2 style="font-size: 25px;">ACCOUNT</h2>
<br><br>
<p>ACCOUNT</p><br>
<p>CHECKOUT</p><br>
<p>LOGIN</p><br>
<p><a href="login.html">LOGIN</a></p><br>
<p>REGISTER</p><br>
<p>SHOPPING</p>
</div>
Expand Down
10 changes: 5 additions & 5 deletions contactform.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
<div class="menu1">
<h2 style="font-size: 25px;">MENU</h2>
<br><br>
<p>HOME</p><br>
<p>ABOUT</p><br>
<p>SERVICES</p><br>
<p><a href="index.html">HOME</a></p><br>
<p><a href="about.html">ABOUT</a></p><br>
<p><a href="product.html"> SERVICES</a></p><br>
<p>BLOG</p><br>
<p>CONTACT</p>
<p><a href="contactform.html">CONTACT</a></p>
</div>

</div>
Expand All @@ -89,7 +89,7 @@ <h2 style="font-size: 25px;">ACCOUNT</h2>
<br><br>
<p>ACCOUNT</p><br>
<p>CHECKOUT</p><br>
<p>LOGIN</p><br>
<p><a href="login.html">LOGIN</a></p><br>
<p>REGISTER</p><br>
<p>SHOPPING</p>
</div>
Expand Down
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,11 @@ <h2 class="price">₹599</h2>&nbsp;<h3 class="price"><del class="del">₹699</de
<div class="menu1">
<h2 style="font-size: 25px;">MENU</h2>
<br><br>
<p>HOME</p><br>
<p>ABOUT</p><br>
<p>SERVICES</p><br>
<p><a href="index.html">HOME</a></p><br>
<p><a href="about.html">ABOUT</a></p><br>
<p><a href="product.html">SERVICES</a></p><br>
<p>BLOG</p><br>
<p>CONTACT</p>
<p><a href="contactform.html">CONTACT</a></p>
</div>

</div>
Expand All @@ -412,7 +412,7 @@ <h2 style="font-size: 25px;">ACCOUNT</h2>
<br><br>
<p>ACCOUNT</p><br>
<p>CHECKOUT</p><br>
<p>LOGIN</p><br>
<p><a href="login.html">LOGIN</a></p><br>
<p>REGISTER</p><br>
<p>SHOPPING</p>
</div>
Expand Down
69 changes: 69 additions & 0 deletions login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Login Page</title>
<style>
body {
font-family: ui-rounded;
text-align: center;
background-color: #e74040;
}
.container {
width: 300px;
margin: 0 auto;
margin-top: 100px;
background-color: #fff;
padding: 50px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.logo {
margin-bottom: 20px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
font-weight: bold;
}
.form-group input[type="text"],
.form-group input[type="password"] {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
}
.form-group button {
background-color: #0074D9;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container">
<div class="logo">
<img src="file:///C:/Users/an2ya/Desktop/spotify/Redstore-1/img/logo.png" alt="Logo">
</div>
<h2>Login</h2>
<form action="process_login.php" method="POST">
<div class="form-group">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name "password" required>
</div>
<div class="form-group">
<button type="submit">Login</button>
</div>
</form>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions product.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ <h3 class="text">₹329<del class="de">₹1399</del><span class="spn">76%off</sp
<div class="menu1">
<h2 style="font-size: 25px;">MENU</h2>
<br><br>
<p>HOME</p><br>
<p>ABOUT</p><br>
<p>SERVICES</p><br>
<p><a href="index.html">HOME</a></p><br>
<p><a href="about.html">ABOUT</a></p><br>
<p><a href="product.html">SERVICES</a></p><br>
<p>BLOG</p><br>
<p>CONTACT</p>
<p><a href="contactform.html">CONTACT</a></p>
</div>

</div>
Expand All @@ -251,7 +251,7 @@ <h2 style="font-size: 25px;">ACCOUNT</h2>
<br><br>
<p>ACCOUNT</p><br>
<p>CHECKOUT</p><br>
<p>LOGIN</p><br>
<p><a href="login.html">LOGIN</a></p><br>
<p>REGISTER</p><br>
<p>SHOPPING</p>
</div>
Expand Down

0 comments on commit 10a8b4d

Please sign in to comment.