-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (41 loc) · 1.52 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
<!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="/styles.css" />
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Product preview card component</title>
</head>
<body>
<main class="card">
<picture>
<source media="(min-width: 1000px)" srcset="/images/image-product-desktop.jpg">
<img src="/images/image-product-mobile.jpg" class="product-img" alt="product image">
</picture>
<div class="product-text">
<h1 class="product-type">Perfume</h1>
<h2 class="product-name">Gabrielle Essence Eau De Parfum</h2>
<p class="product-description">
A floral, solar and voluptuous interpretation composed by Olivier Polge,
Perfumer-Creator for the House of CHANEL.
</p>
<p class="product-price">
<span class="discount-price">$149.99</span>
<span class="initial-price">$169.99</span>
</p>
<button>
<img src="/images/icon-cart.svg" alt="decorative shopping cart icon">
Add to Cart
</button>
</div>
</main>
<footer>
<div class="attribution">
Challenge from <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://www.linkedin.com/in/christina-rontell/">Christina Rontell</a>.
</div>
</footer>
</body>
</html>