Assignment-5 for review #1
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: eknoor547/Assignment-5#1
Loading…
Reference in a new issue
No description provided.
Delete branch "assignment-5"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Used contextAPI for state management and took a little reference for the cart and filter implementation.
@ -0,0 +1,7 @@
export const fetchProducts = async () => {
const response = await fetch("https://fakestoreapi.com/products");
if (!response?.ok) {
add try catch error handling
@ -0,0 +12,4 @@
<h1 className="flex text-2xl font-bold items-center">Cart</h1>
<div className="absolute right-16 top-10">
<button className="px-4 py-2 text-xl" onClick={toggle}>
❌
Add svg instead
Assignment-5 for reviewto WIP: Assignment-5 for reviewWIP: Assignment-5 for reviewto Assignment-5 for review