Skip to content

rnsnceman/notification-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Notifications page solution

This is my solution to the Notifications page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • Distinguish between "unread" and "read" notifications
  • Select "Mark all as read" to toggle the visual state of the unread notifications and set the number of unread messages to zero
  • View the optimal layout for the interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page

Extra features:

  • Select "remove all" to remove all notifications
  • Hover over each notification to reveal a button on the right
  • Click the button on the right to reveal a dropdown menu
  • Click "Mark As Read" to mark a notification as read individually or "Mark As Unread' to mark a notification as unread individually
  • Click "Remove Notification" to remove a notification from the list of notifications individually

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

This was my first time using grid, which i used within the notification containers.

.n-left {
  display: grid;
  grid-template-areas:
    "avatar info info"
    "avatar date date"
    ". msg msg";
  justify-content: flex-start;
}

Continued development

I hope to continue to expand my knowledge in using javascript.

Author

Acknowledgments

ChatGPT helped me with some of the Javascript code for the extra features I added.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published