Design comparison
SolutionDesign
Solution retrospective
I used react.js for this project because the first thing that came to my mind was using the "useState" hook for the notification badge. Also, I could have gone further and used ContextAPI or Redux, which I know how to use, but I didn't want things to get messier for this kind of simple project. Instead, I stored the notifications in a JSON file and if you want to use it, it is named "nots.json" and you can access it in the "public" folder.
I think everything looks okay on my devices, but if you see any problems or have any suggestions, I would appreciate any feedback.
Community feedback
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