Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Notifications page in HTML5, SCSS, Flexbox, Mobile first and ES6

#accessibility#progressive-enhancement#sass/scss#parcel

@YariMorcus

Desktop design screenshot for the Notifications page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I did not have any problems while building this project.

What I did implement is the ability to mark notifications as read separately and progressive enhancement.

To mark a single notification as read, just click on it.

Progressive enhancement

I implemented progressive enhancement to make sure most of the functionality is still working when JavaScript is not available.

Whenever JavaScript is not available, checkboxes will be shown on the right of the unread notifications. By selecting the checkbox, two things happen:

  1. The notification will be marked as read.
  2. The checkbox will be hidden.

The only thing that does not work is the counter. The counter remains the same number of unread notifications that the page identified when rendering the page.

For this reason, the user will be shown a notification indicating the above.

An image of both the checkboxes and notification can be found on my Github repository

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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