Skip to content

Conversation

@YahyaAl-Ademi
Copy link

@YahyaAl-Ademi YahyaAl-Ademi commented Oct 7, 2025

I updated my project and this is the new live link:
https://charming-sopapillas-47d6a5.netlify.app/

@sarlam sarlam self-assigned this Oct 12, 2025
Copy link

@sarlam sarlam left a comment

Choose a reason for hiding this comment

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

Great work on week 3, especially, your code is really clean and easy to read, kudos!

Comment on lines +10 to +12
setFavourites((prev) =>
prev.includes(id) ? prev.filter((favId) => favId !== id) : [...prev, id]
);
Copy link

Choose a reason for hiding this comment

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

This is a clever way to deal with toggles as an array, nice work

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