-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (101 loc) · 4.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Frontend Mentor | E-commerce product page</title>
</head>
<body>
<header class="header">
<div class="left-side">
<div class="burger">
<img src="./images/icon-menu.svg" alt="burger menu" class="burger-menu">
</div>
<div class="menu-overlay"></div>
<img src="./images/logo.svg" alt="main logo" id="logo">
<nav class="nav">
<ul class="list">
<li class="nav-list focus"><a href="#">Collections</a></li>
<li class="nav-list"><a href="#">Men</a></li>
<li class="nav-list"><a href="#">Women</a></li>
<li class="nav-list"><a href="#">About</a></li>
<li class="nav-list"><a href="#">Contact</a></li>
</ul>
</nav>
</div>
<div class="right-side">
<div class="cart">
<img src="./images/icon-cart.svg" alt="cart icon" id="cart-icon">
<span class="count-items">0</span>
</div>
<img src="./images/image-avatar.png" alt="user avatar" id="avatar">
</div>
</header>
<main>
<section class="product-section">
<div class="pictures">
<button class="slider-btn prev-btn">❮</button>
<img src="./images/image-product-1.jpg" alt="product 1" class="main-picture">
<button class="slider-btn next-btn">❯</button>
<div class="other-pictures">
<div class="small-img-col">
<img src="./images/image-product-1-thumbnail.jpg" alt="product" class="small-img">
</div>
<div class="small-img-col">
<img src="./images/image-product-2-thumbnail.jpg" alt="product" class="small-img">
</div>
<div class="small-img-col">
<img src="./images/image-product-3-thumbnail.jpg" alt="product" class="small-img">
</div>
<div class="small-img-col">
<img src="./images/image-product-4-thumbnail.jpg" alt="product" class="small-img">
</div>
</div>
</div>
<div class="info">
<h4 id="company">SNEAKER COMPANY</h4>
<h1 id="title">Fall Limited Edition<br>Sneakers</h1>
<p>These low-profile sneakers are your perfect casual wear companion. Featuring a
durable rubber outer sole, they’ll withstand everything the weather can offer.</p>
<div class="all-prices">
<div class="price-info">
<h1 id="price">$125.00</h1>
<span>50%</span>
</div>
<h4 id="prev-price">$250.00</h4>
</div>
<div class="form-container">
<form id="form">
<div class="input-container">
<button id="minus"><img src="./images/icon-minus.svg" alt="minus icon"></button>
<input type="number" id="num-items" placeholder="0">
<button id="plus"><img src="./images/icon-plus.svg" alt="plus icon"></button>
</div>
<button type="submit" id="add"><img src="./images/icon-cart.svg" alt="cart-icon"> Add to cart</button>
</form>
</div>
</div>
</section>
</main>
<div class="sidebar" id="sidebar">
<div class="sidebar-header">
<h3>Cart</h3>
</div>
<div class="cart-menu">Your cart is empty</div>
<div class="sidebar-btn"></div>
</div>
<footer>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <span>Sara Douar.</span>
</div>
</footer>
<script src="index.js" type="module"></script>
</body>
</html>