Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 3 years ago

Responsive notification page developed using Angular, TS & SCSS

angular, sass/scss, typescript
Mohit•50
@paryanimohit1
A solution to the Notifications page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I've developed the solution using Angular, TS & SCSS. I've used 2 components viz., AppComponent for the overall layout and NotificationComponent for notification content. The notifications data is maintained in a separate file named data.ts. Maintaining variables in a file named vars.scss. Maintaining an interface for notification data objects in a file named interfaces.ts

Functionality:

  • Mobile responsive solution
  • Unread notifications have a red circle and different background color.
  • Unread notifications are clickable and clicking one will mark it as read and update the unread notification count.
  • Mark all as read will set all the notifications as read.
  • Hover effects are added.

I've tried to match the designs as much as possible, the only part I am unsure about are some of the lighter colors & background colors.

  1. Do I need any improvements with the folder structure?
  2. Let me know how did I do overall considering best practices?
  3. Would you suggest any improvements in any other area like, approach, code, folder structure, styling, best practices, or anything?
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 Mohit'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