-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (47 loc) · 1.39 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
<!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" />
<title>Frontend Mentor | Product preview card component</title>
<link rel="stylesheet" href="reset.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main>
<picture>
<source
media="(min-width:680px)"
srcset="images/image-product-desktop.jpg" />
<source
media="(max-width:680px)"
srcset="images/image-product-mobile.jpg" />
<img
src="images/image-product-desktop.jpg"
alt="A picture of a bottle of perfume."
style="width: auto" />
</picture>
<article>
<h1>Perfume</h1>
<h2>Gabrielle Essence Eau De Parfum</h2>
<p>
A floral, solar and voluptuous interpretation composed by Olivier
Polge, Perfumer-Creator for the House of CHANEL.
</p>
<div class="price">
<div class="new-price">$149.99</div>
<div class="old-price">$169.99</div>
</div>
<button>
<img src="images/icon-cart.svg" alt="Picture of a perfume bottle." />
Add to Cart
</button>
</article>
</main>
</body>
</html>