-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcard.html
34 lines (32 loc) · 1.41 KB
/
card.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Animal Trading Cards</title>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<!-- start animal card -->
<div class="animal-card">
<!-- your favorite animal's name goes here -->
<h2>Giant Panda</h2>
<!-- your favorite animal's image goes here -->
<img class="animal-image" src="panda.jpg" alt="Panda image">
<!-- start card-info -->
<div class="card-info">
<!-- your favorite animal's interesting fact goes here -->
<p class="animal-fact">Live mainly in bamboo forests high in the mountains of western China, where they subsist almost entirely on bamboo.</p>
<ul>
<!-- your favorite animal's list items go here -->
<li><span class="list-item">Scientific Name</span>: Ailuropoda melanoleuca</li>
<li><span class="list-item">Height</span>: Adults can grow to more than four feet</li>
<li><span class="list-item">Weight</span>: 220–330 pounds</li>
<li><span class="list-item">Habitats</span>: Temperate broadleaf and mixed forests of southwest China</li>
</ul>
<!-- your favorite animal's description goes here -->
<p>The giant panda, a black-and-white bear, has a body typical of bears. It has black fur on its ears, eye patches, muzzle, legs, and shoulders. The rest of the animal's coat is white.
</p>
</div><!-- end card-info -->
</div><!-- end animal card -->
</body>
</html>