Copper Wilson
AD311 - Intermediate Dev 1 Winter 2026 at NSC
This project is a simple web application built to practice using the JavaScript Fetch API with a third-party public API. The application retrieves and displays data from the Dog API, including dog breeds, breed details, dog facts, and dog groups. It also includes basic error handling.
- Fetch and display a list of dog breeds
- Click a breed to view detailed information
- Fetch and display random dog facts
- Fetch and display dog groups
- Error handling for failed API requests
- HTML
- JavaScript (Fetch API)
- Dog API (https://dogapi.dog)
- Double-click
index.htmlto open it in your browser
- Click Load Breeds to fetch and display all dog breeds
- Click any breed name to view detailed information
- Click Load Facts to display random dog facts
- Click Load Groups to display dog group information
- Error handling is implemented using
response.okchecks andtry/catchblocks - Console logging is used for debugging and transparency