-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (78 loc) · 2.45 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
<!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="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<!--Google font via link-->
<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=Fraunces:opsz,[email protected],700&family=Montserrat:wght@500;700&display=swap"
rel="stylesheet"
/>
<!--Adding font aewsome icon via cdn-->
<script
src="https://kit.fontawesome.com/fbb51f12e1.js"
crossorigin="anonymous"
></script>
<!--Linking css style here-->
<link rel="stylesheet" href="css/styles.css" />
<title>Frontend Mentor | Product preview card component</title>
</head>
<body>
<main>
<div class="grid-container">
<!--image area section-->
<div class="grid-item grid-top-item">
<img
class="image"
src="images/image-product-desktop.jpg"
alt="Gabrielle CHANEL Perfumer image"
/>
</div>
<!--Text-area section-->
<div class="grid-item grid-item-price">
<p class="first-words">P E R F U M E</p>
<div class="second-words">
<strong class="second"
>Gabrielle<br />
Essence Eau <br />De Parfum</strong
>
</div>
<p class="third-words">
A floral, solar and voluptuous <br />
interpretation composed by <br />
Olivier Polge, Perfumer-Creator <br />
for the House of
<em>CHANEL.</em>
</p>
<!--New price-->
<div class="new-price">
<p class="price">$149.99</p>
</div>
<div class="old-price">
<p><del>$169.99</del></p>
</div>
<button class="btn-cart">
<i class="fa-solid fa-cart-shopping"> </i> Add to Cart
</button>
</div>
</div>
</main>
<footer>
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="#">Lokosman</a>.
</div>
</footer>
</body>
</html>