-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (70 loc) · 3.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cats Page</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main>
<header>
<h1>Cats Page</h1>
<p>Discover the best of cat photos, lists, and more.</p>
</header>
<div class="card-grid">
<section class="card">
<h2>Cat Photos</h2>
<p>Explore our <a target="_blank" href="https://freecatphotoapp.com">cat gallery</a> for more adorable images.</p>
<a href="https://freecatphotoapp.com">
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</a>
</section>
<section class="card">
<h2>Cat Lists</h2>
<h3>Things cats love:</h3>
<ul>
<li>Catnip</li>
<li>Laser pointers</li>
<li>Lasagna</li>
</ul>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
<figcaption>Cats <em>love</em> lasagna.</figcaption>
</figure>
<h3>Top 3 things cats hate:</h3>
<ol>
<li>Flea treatment</li>
<li>Thunder</li>
<li>Other cats</li>
</ol>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
<figcaption>Cats <strong>hate</strong> other cats.</figcaption>
</figure>
</section>
<section class="card">
<h2>Cat Form</h2>
<form action="https://freecatphotoapp.com/submit-cat-photo">
<fieldset>
<legend>Is your cat an indoor or outdoor cat?</legend>
<label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
<label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
</fieldset>
<fieldset>
<legend>What's your cat's personality?</legend>
<label><input id="loving" type="checkbox" name="personality" value="loving" checked> Loving</label>
<label><input id="lazy" type="checkbox" name="personality" value="lazy"> Lazy</label>
<label><input id="energetic" type="checkbox" name="personality" value="energetic"> Energetic</label>
</fieldset>
<input type="text" name="catphotourl" placeholder="Cat photo URL" required>
<button type="submit">Submit</button>
</form>
</section>
</div>
</main>
<footer>
<p>© 2024 CatPhotoApp - <a href="https://www.freecodecamp.org">freeCodeCamp.org</a></p>
</footer>
</body>
</html>