-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcat-photo-app.html
More file actions
96 lines (93 loc) · 3.58 KB
/
cat-photo-app.html
File metadata and controls
96 lines (93 loc) · 3.58 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A cute Cat photo app for you and your kitties!">
<meta name="keywords" content="cat photos, cat app, at lists, cat info">
<title>CatPhotoApp</title>
</head>
<body>
<main>
<h1>CatPhotoApp</h1>
<!-- Cat Photos section -->
<section>
<h2>Cat Photos</h2>
<p>See more <a href="#">cat photos</a> in our gallery.</p>
<a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" target="_blank">
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="Hello kitty!">
</a>
</section>
<!-- Cat Lists section -->
<section>
<h2>Cat Lists</h2>
<h3>Things cats love:</h3>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="yummy lasagna">
<figcaption>
Cats <em>love</em> lasagna.
</figcaption>
</figure>
<h3>Top 3 things cats hate:</h3>
<ul>
<li>flea treatment</li>
<li>thunder</li>
<li>other Cats</li>
</ul>
<figure>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="cats cats cats">
<figcaption>
Cats <strong>hate</strong> other cats.
</figcaption>
</figure>
</section>
<!-- Cat Form section -->
<section>
<h2>Cat Form</h2>
<form action="https://freecatphotoapp.com/submit-cat-photo" method="POST">
<fieldset>
<legend>
Is your cat an indoor or outdoor cat?
</legend>
<label for="indoor">
<input type="radio" name="indoor-outdoor" id="indoor" value="indoor" checked>
Indoor
</label>
<label for="outdoor">
<input type="radio" name="indoor-outdoor" id="outdoor" value="outdoor">
Outdoor
</label>
</fieldset>
<fieldset>
<legend>What's your cat's personality?</legend>
<label for="loving">
<input type="checkbox" name="personality" id="loving" value="loving" checked>
Loving
</label>
<label for="lazy">
<input type="checkbox" name="personality" id="lazy" value="lazy">
Lazy
</label>
<label for="energetic">
<input type="checkbox" name="personality" id="energetic" value="energetic">
Energetic
</label>
</fieldset>
<br>
<input type="text" name="cat-photo-url" placeholder="cat photo URL" required>
<button type="submit">Submit now</button>
</section>
</form>
</main>
<br>
<footer>
No Copyright - <a href="http://freecodecamp.org" target="_blank">freeCodeCamp.org</a>
</footer>
<br>
</body>
</html>