/dog-directory

Directory of randomized dog photos to showcase proficiency with API calls

Primary LanguageJavaScript

Web Development Project 4 - Dog Directory

Submitted by: Doniyor Nimatullo

This web app: Directory of randomized dog photos to showcase proficiency with API calls

Time spent: 2 hours spent in total

Required Features

The following required functionality is completed:

  • Clicking a button creates a new API fetch request and displays at least three attributes from the returned JSON data
  • Only one item/API call is viewable at a time
  • API calls appear random to the user
  • At least one image is displayed per API call
  • Clicking on a displayed value for one attribute adds it to a displayed ban list
  • Attributes on the ban list prevent further images/API results with that attribute from being displayed

The following optional features are implemented:

  • Multiple types of attributes can be added to the ban list
  • Users can see a stored history of their previously viewed items from their session

Video Walkthrough

Here's a walkthrough of implemented user stories:

GIF created with Kooha (Linux)

Notes

The hardest part was learning all the ins and outs of the API I used, to structure API calls the right way.

License

Copyright [2023] [Doniyor Nimatullo]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.