-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
155 lines (120 loc) · 5.79 KB
/
index.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="stylesheet" href="./E.commerce/style.css">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | E-commerce product page</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>
<!-- Main Section Start -->
<main class="main">
<header class="header" id="header">
<div class="nav-nav">
<img src="./E.commerce/images/icon-menu.svg" alt="hamburger" class="hamburger">
<div>
<img src="./E.commerce/images/logo.svg" alt="" class="logo">
</div>
<nav class="nav-menu">
<ul class="nav-list">
<li>
<a href="#" class="nav-link">Collections</a>
</li>
<li>
<a href="#" class="nav-link">Men</a>
</li>
<li>
<a href="#" class="nav-link">Women</a>
</li>
<li>
<a href="#" class="nav-link">About</a>
</li>
<li>
<a href="#" class="nav-link">Contract</a>
</li>
<img src="./E.commerce/images/icon-close.svg" alt="close" class="close">
</ul>
</nav>
</div>
<div class="nav-images">
<div>
<!-- <h6 class="cart-alert">3</h6> -->
<img src="./E.commerce/images/icon-cart.svg" alt="cart log" class="cart-logo">
</div>
<img src="./E.commerce/images/image-avatar.png" alt="Image Avatar" class="image-avatar">
</div>
</header>
<!-- flex section start-->
<section class="section-flex">
<!-- image section start -->
<section class="section-image">
<div class="direction">
<img src="./E.commerce/images/icon-previous.svg" alt="" class="backward">
<img src="./E.commerce/images/icon-next.svg" alt="" class="forward">
</div>
<img src="./E.commerce/images/image-product-1.jpg" alt="" id="big-image">
<div class="thumbnails">
<img src="./E.commerce/images/image-product-1-thumbnail.jpg" data-id="0" alt="" class="thumbnail-1 thumbnail">
<img src="./E.commerce/images/image-product-2-thumbnail.jpg" data-id="1" alt="" class="thumbnail-2 thumbnail">
<img src="./E.commerce/images/image-product-3-thumbnail.jpg" data-id="2" alt="" class="thumbnail-3 thumbnail">
<img src="./E.commerce/images/image-product-4-thumbnail.jpg" data-id="3" alt="" class="thumbnail-4 thumbnail">
</div>
<!-- image section end -->
</section>
<!-- info section start -->
<section class="section-info">
<h4 class="company-header">sneaker company</h4>
<h2 class="info-header">fall limited edition <span class="next">sneakers</span></h2>
<p class="info-text">These Low-profile sneakers are your perfect casual wear companion. Featuring a durable rubber outaer sole, they'll withstand everything the weather can offer.</p>
<div class="price-flex">
<div class="percentage-flex">
<span class="percentage-amount">$125.00</span>
<span class="percentage">50%</span>
</div>
<div class="initial-amount"><del>$250.00</del></div>
</div>
<div class="cart-section">
<div class="quantity-section">
<img src="./E.commerce/images/icon-minus.svg" alt="" class="minus">
<span class="value">0</span>
<img src="./E.commerce/images/icon-plus.svg" alt="" class="plus">
</div>
<button class="cart-button">
<img src="./E.commerce/images/icon-cart-white.svg" alt="" class="cart-button-image">
<span class="cart-button-text">Add to cart</span>
</button>
</div>
</section>
<!-- info section end -->
</section>
<!-- flex section end-->
<section class="cart">
<h4 class="cart-heading">cart</h4>
<div class="cart-item-container">
<!-- <div class="cart-item" id="cart-item">
<img src="./E.commerce/images/image-product-1.jpg" alt="" class="cart-item-image">
<div>
<p class="cart-item-text">autumn limited edition...</p>
<p class="single-price">$125.00 * 3 <span class="total">$375.00</span></p>
</div>
<img src="./E.commerce/images/icon-delete.svg" alt="" class="delete">
</div> -->
<div class="empty-text">Your Cart is empty.</div>
</div>
<button class="close-cart">checkout</button>
</section>
</main>
<!-- Main Section Ends -->
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="github.com/Vector-ozo">Chiemerie Ozoemena</a>.
</div>
<script src="./E.commerce/script.js"></script>
</body>
</html>