-
Notifications
You must be signed in to change notification settings - Fork 0
/
productpage.html
42 lines (34 loc) · 1.31 KB
/
productpage.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
<!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>Buying fresh green fruits</title>
</head>
<link rel="shortcut icon" type="img/jpg"
href="https://cdn.shopify.com/s/files/1/0449/5225/6667/files/fav_12dcb22d-f3e3-4662-886b-1dae4e60e297_32x.png?v=1598337573">
<link rel="stylesheet" href="navbar.css">
<link rel="stylesheet" href="./productpage.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<body>
<div id="currently">
<p>Currently available in Mumbai | Same day delivery</p>
</div>
<div id="navbar1"></div>
<div id="show"></div>
<div id="footer1"></div>
</body>
<script type="module">
let count1=JSON.parse(localStorage.getItem("cart"))|| [];
let cartCount=count1.length;
import navbar from "./navbar.js";
let nav=document.getElementById("navbar1");
nav.innerHTML=navbar(cartCount);
import {footer} from "./navbar.js";
let foot=document.getElementById("footer1");
foot.innerHTML=footer();
</script>
<script src="productpage.js"></script>
</html>