Skip to content

Commit

Permalink
added a product page
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaks-lts committed May 9, 2024
1 parent cb168a3 commit 9aad84f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
30 changes: 30 additions & 0 deletions Frontend/product.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="styles/product.css" />
</head>
<body>
<div class="container">
<nav></nav>
<div id="main-section">
<div id="left-main">
<div id="flat-title"></div>
<div id="flat-images"></div>
<div id="flat-details"></div>
<div id="host"></div>
<div id="features"></div>
<div id="discription"></div>
<div id="where-sleep"></div>
</div>
<div id="right-main"></div>
</div>
<div></div>
<footer></footer>
</div>

</body>
<script src="scripts/product.js"></script>
</html>
4 changes: 4 additions & 0 deletions Frontend/scripts/product.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
localStorage.setItem("currCard", "8450130");

let productID = localStorage.getItem("currCard");

2 changes: 1 addition & 1 deletion Frontend/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h2 class="text-2xl font-bold mb-6 text-center">Sign up</h2>
<div id="loading"></div>
<a
class="inline-block align-baseline font-bold text-sm text-blue-500 dark:text-blue-300 hover:text-blue-800 dark:hover:text-blue-500"
href="#"
href="login.html"
>
Already have an account? Login
</a>
Expand Down
Empty file added Frontend/styles/product.css
Empty file.

0 comments on commit 9aad84f

Please sign in to comment.