-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCatphotoApp.html
More file actions
60 lines (60 loc) · 2.42 KB
/
CatphotoApp.html
File metadata and controls
60 lines (60 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>CatPhotoApp</title>
</head>
<body>
<main>
<h1>Cat Photo App</h1>
<section>
<h2>Cat Photos</h2>
<p>see more <a target="_blank" href="https://www.freecatphotoapp.com/">cat photos</a> in our gallery</p>
<a href="https://www.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>
<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="A slice if 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>
<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 type="radio" id="indoor" name="indoor-outdoor" checked>Indoor</label>
<label><input type="radio" id="outdoor" name="indoor-outdoor">Outdoor</label>
</fieldset>
<fieldset>
<legend>What's your cat's personality?</legend>
<input id="loving" type="checkbox" name="personality" value="loving" checked> <label for="loving">Loving</label>
<input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
<input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic">Energetic</label>
</fieldset>
<input type="text" name="catphotourl" placeholder="Cat Photo URL" required>
<button type="submit">Submit</button>
</form>
</section>
</main>
<footer>
<p>No Copyright - <a href="https://www.freecodecamp.org">freeCodeCamp.org</a></p>
</footer>
</body>
</html>