BravoClassic / venci-venci

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Development Project 4 - Venci Venci

Submitted by: Gerald Akorli

This web app: Discover dogs beyond your wildest imagination

Time spent: 15 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

The following additional features are implemented:

  • List anything else that you added to improve the site's functionality!

Video Walkthrough

GIF created with Kap for macOS

Notes

Describe any challenges encountered while building the app. I faced an issue calling the API when I filtered by ban list. I had to create a checkInfo function filter by ban list. Then use recursion to call the API again when the API returned an empty array.

License

Copyright 2023 Gerald Akorli

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.

About


Languages

Language:JavaScript 72.7%Language:CSS 23.7%Language:HTML 3.6%