Skip to content

Conversation

@AhmadSaadeddin1987
Copy link

@AhmadSaadeddin1987
Copy link
Author

@sycons
Sorry for the late submission of the assignment

@sycons sycons self-requested a review January 11, 2026 14:17
Copy link

@sycons sycons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following were implemented:

  • App connects to endpoints in the API to fetch data for categories and products ✅
  • Filter the products in the API and not in the frontend ✅
  • App displays loading when waiting for request to complete fetching data ✅
  • App shows an error message if the request failed ✅
  • Clicking on product card goes to a detail page ✅
  • Detail page fetches data from an endpoint ✅
  • Deploy app somewhere (like netlify) and add link to PR ✅

Requested improvements:

  • Remove fake-data directory
  • Apply styling suggestions from week 1 to allow for gap between product cards
  • The category list disappears when the products are loading or there is an error when fetching products. Please update so categories list is still visible.

@sycons sycons self-assigned this Jan 11, 2026
Copy link

@sycons sycons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you have separate loading and error messages for the categories and products?

See comment for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants