-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (132 loc) · 6.46 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Need a Puppy? Take a Puppy!</title>
<meta name="description" content="Discover your perfect pet companion. Browse a diverse selection of cats and dogs available for adoption. Find your new family member today!">
<link rel="stylesheet" href="./styles/style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="./images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon/favicon-16x16.png">
<link rel="manifest" href="./images/favicon/site.webmanifest">
<link rel="icon" type="image/png" href="./images/favicon/faviconp.ico">
<!-- Note: Commenting out google fonts bumps my lighthouse score to 100... -->
<link
href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet"
/>
</head>
<body>
<header>
<div class="header-logo">
<img
id="small-circle-logo"
src="./images/small-circle-transparent.webp"
alt="Circular logo of a hand patting a dog and cat"
/>
</div>
<div class="header-center">
<img
id="medium-text-logo"
src="./images/center-header-logo.webp"
alt="Rectangular logo of a hand patting a dog and cat"
/>
</div>
<div class="header-info"></div>
</header>
<div class="aside-and-main">
<aside class="search-frame">
<div class="search-options">
<div class="search-criteria">
<h3>Find Your New Pet</h3>
<div class="slider-container">
<p>🐶</p>
<label class="switch" aria-label="Dog or cat toggle">
<input type="checkbox" id="toggle-checkbox">
<span class="slider round"></span>
</label>
<p>🐱</p>
</div>
<button type="button" class="collapsible-button">
Filters <i class="fa-solid fa-angles-down"></i>
</button>
<div class="search-dropdown">
<form action="#">
<label for="breed-dropdown">Breed</label>
<select name="breeds" id="breed-dropdown">
<option value="select">Any</option>
</select>
</form>
<form action="#">
<label for="size-dropdown">Size</label>
<select name="sizes" id="size-dropdown">
<option value="select">Any</option>
</select>
</form>
<form action="#">
<label for="age-dropdown">Age</label>
<select name="ages" id="age-dropdown">
<option value="select">Any</option>
</select>
</form>
<form action="#">
<label for="gender-dropdown">Gender</label>
<select name="genders" id="gender-dropdown">
<option value="select">Any</option>
</select>
</form>
<form action="#">
<label for="color-dropdown">Color</label>
<select name="colors" id="color-dropdown">
<option value="select">Any</option>
</select>
</form>
</div>
<h3>Search by Name</h3>
<input type="text" id="search-input" placeholder="Search..." />
<button class="search-buttons" id="searchButton" type="submit">
Search
</button>
<button class="search-buttons" id="clearButton" type="submit">
Clear Results
</button>
</div>
</div>
</aside>
<main id="main">
<div id="main-starting-content">
<img id="main-starting-logo" src="./images/naptap-low-profile.webp" alt="Large rectangular logo of a hand patting a dog and cat"/>
<h2>Find your new family member today!</h2>
<p>In the whimsical quest for the pawfect companion, there's a moment of sheer delight—an instant when a pet's antics make you chuckle, and you know you've stumbled upon a bundle of furry joy. It's not just about finding a pet; it's like discovering your own live-in comedian, a four-legged goofball with a talent for turning ordinary days into extraordinary adventures. In the playful boops of a wet nose or the acrobatic feats of a frisky furball, you realize that, in adopting a pet, you've signed up for a lifetime supply of laughter and love. So, here's to the magic of fur and the delightful chaos they bring, because in the world of pet adoption, a little silliness goes a long way toward creating a lifetime of tail-wagging memories! </p>
</div>
<div id="results-container"></div>
<div id="number-returned"></div>
<button id="scroll-to-top-button" title="Go to top">
<i class="fa-solid fa-angles-up"></i>
</button>
<div id="loading-overlay">
<i id="loading-spinner" class="fa-solid fa-bone"></i>
</div>
</main>
</div>
<footer>
<h2>Need A Puppy Take A Puppy</h2>
<p>All results provided graciously through
<a href="https://www.petfinder.com/" target="_blank">Petfinder.com's<i class="fa-solid fa-arrow-up-right-from-square"></i> </a>
<a href="https://www.petfinder.com/developers/" target="_blank">RESTful API<i class="fa-solid fa-arrow-up-right-from-square"></i></a>
</p>
</footer>
<div id="myModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<p id="modal-message"></p>
</div>
</div>
<script src="https://kit.fontawesome.com/448a650cba.js" crossorigin="anonymous"></script>
<script src="./js/search.js" type="module"></script>
</body>
</html>