forked from mohitbirla20/team_1mg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct-page.html
137 lines (123 loc) · 2.99 KB
/
product-page.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
<!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>Vitamins and Supplements</title>
</head>
<link rel="stylesheet" href="prdouct-page.css">
<style>
#midnav>div>a{
text-decoration: none;
color: black;
}
#midnav>div>a:hover{
color:#FF6F61;
}
#navbar{
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-weight: bold;
}
#midnav>div>a{
text-decoration: none;
color: black;
}
#midnav>div>a:hover{
color: #ff6f61;
}
#midnav{
display: grid;
grid-template-columns: repeat(6,1fr);
width: 50%;
height: 60px;
margin: auto;
align-items: center;
justify-content: center;
text-align: center;
}
#midnav>div{
cursor: pointer;
}
#midnav>div:hover{
color: #FF6F61;
}
#rightnav{
display: grid;
grid-template-columns: repeat(4,1fr);
grid-template-rows: auto;
gap: 20px;
width: 20%;
margin-right: 5%;
align-items: center;
justify-content: center;
text-align: center;
}
#rightnav>div{
cursor: pointer;
margin-right: -18%;
}
#rightnav>div:hover{
color: #FF6F61;
}
#rightnav>div>img{
width: 60%;
}
#leftnav>div>img{
width: 100%;
padding-left: 20px;
}
#size{
width: 60px;
height: 60px;
margin-top: 10px;
}
#rightnav>div>a{
text-decoration: none;
color: black;
}
#rightnav>div>a:hover{
color: #FF6F61;
}
</style>
<body>
<div id="navbar">
<div id="leftnav">
<div><img src="https://www.1mg.com/images/tata_1mg_logo.svg" alt=""></div>
</div>
<div id="midnav">
<div><a href="index.html">MEDICINES</a></div>
<div><a href="labtest.html">Lab Tests</a></div>
<div><a href="consultdoctor.html">Consult Doctors</a></div>
<div><a href="covid19.html">COVID-19</a></div>
<div><a href="ayurveda.html">AYURVEDA</a></div>
<div><a href="careplain.html">CARE PLAN</a>
</div>
</div>
<div id="rightnav">
<div id="login"><a href="login.html">Login</a></div>
<div id="signup"><a href="signUp.html">Sign Up</a></div>
<div id="size"><a href="cart-page.html"><img src="https://www.1mg.com/images/header/cart-icon-rebrand.svg" alt=""></a></div>
<div>Need Help?</div>
</div>
</div>
<hr>
<div id="sorting">
<span>Sort By</span>
<select id="sort" onChange="handleSort()">
<option value="">Default</option>
<option value="dec">Price: High to Low</option>
<option value="inc">Price: Low to High</option>
</select>
</div>
<h3 id="AP">All Products</h3>
<div id="container">
<!-- products append here -->
</div>
</body>
<script src="product-page.js"></script>
<script src="navbar.js"></script>
</html>