Design comparison
Solution retrospective
The layout of the dessert cards based on the width of the device. I would use the useContext() hook instead of prop-drilling to keep the code tidier, but since the project isn't big, I didn't because I'm not very familiar with the said hook
What challenges did you encounter, and how did you overcome them?When the confirmation modal is open, I can still scroll in the background, which I had no clue how to fix. This problem hasn't been fixed yet. I had a problem with the images not displaying since I had to pull the address from data.json. The fix was very easy; I just put the images folder in the public folder instead of src
What specific areas of your project would you like help with?I would like to know how to make the code DRY-er and what else I could improve except the prop-drilling (since I'm aware of that). Should I have used less components?
Community feedback
- @Ibnetahir102Posted about 1 month ago0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord