-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (46 loc) · 1.36 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
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Light/Dark Mode</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
/>
<link rel="stylesheet" href="style.css" />
<script type="module" src="script.js"></script>
</head>
<body>
<header>
<div class="container">
<strong>Light/Dark Mode</strong>
<label for="toggle" class="toggle">
<input type="checkbox" id="toggle" />
<i class="bi bi-sun"></i>
<i class="bi bi-moon"></i>
</label>
</div>
</header>
<main>
<article class="card">
<img src="headset.png" alt="" />
<div class="card-info">
<div class="rating">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-half"></i>
<i class="bi bi-star"></i>
</div>
<h3>Product Name</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Temporibus,
illo!
</p>
</div>
<button>Add to cart</button>
</article>
</main>
</body>
</html>