Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

Notifications page using React.js and Css Flexbox

react
Furk•600
@doganfurkan
A solution to the Notifications page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Furk's solution.

Join 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License