Submitted by: Arnold Bhebhe
This web app: Discover Your Next Favorite Cocktail
Time spent: 8 hours spent in total
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:
- The Banned List does not allow duplicates - an attribute can only be added once to the ban list
- Clicking on an attribute in Banned list removes the attribute from the banned list
- Users can click on an ingredient in the ingredients list to add it to the banned list
- Users can specify their language of choice for displaying instructions
Here's a walkthrough of implemented user stories:
GIF created with LiceCap.
- Implementing filter functionality using The CocktailDB API.
Copyright [2023] [Arnold Bhebhe]
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.