-
Notifications
You must be signed in to change notification settings - Fork 232
/
code-solo.html
37 lines (28 loc) · 1.06 KB
/
code-solo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Product Gallery</title>
<!-- 1. Link to the external CSS stylesheet (gallery.css). -->
</head>
<body>
<div class="navbar">
<a href="index.html">Do Now</a>
<a href="code-along.html">Code Along</a>
<a href="code-solo.html">Code Solo</a>
</div>
<!-- 2. Add a class attribute with the value "product-gallery" to the parent div below . -->
<div>
<!-- 3. Copy and paste the "product-card" div with the nested elements 5 times. -->
<div class="product-card">
<img src="https://via.placeholder.com/150" alt="Product Image" class="product-image">
<h3 class="product-name">Product Name</h3>
<p class="product-desc">This is a short description of the product.</p>
<span class="product-price">$99.99</span>
</div>
<!-- End of product card. -->
</div>
<!-- End of product gallery. -->
</body>
</html>