Pet Adoption is an example project for Print to DOM with JavaScript.
- Show all adobtable animals in a collection
- Filter pets by type
- Clone down this repo
- Use your favorite http server (like http-server) to serve it up (
hs
) - In your browser, go where it's being served (default is localhost:8081)
- reset to all pets button
- sort by pet gender
code block example:
<h1>Pet Adoptions</h1>
<div class="buttonContainer">
<button id="catButton">Cats</button>
<button id="dogButton">Dogs</button>
<button id="ratButton">Rats</button>
</div>