Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Notifications Page Solution

Daniyal Master•290
@daniyalmaster693
A solution to the Notifications page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I started by creating all the HTML elements and assigning them classes. Next, I started to work on the card where I added things like box shadows, notifications, and padding. Then, I moved onto the text, where I spent time getting the colors, sizes, and styles right for everything. I then moved onto the profile pictures, where I used proprties such as position: relative, and margin to get the spacing and design right. I used spans to create the messages, and used margin left and right to create spaces between each piece of text. I created the red dots for notifications, and styled them accordingly. Once I was done, I started to create the design for the entire page. I used flexbox to center everything, and spent some time playing around with the padding and margin for the notifications. I had some issues with card 4, so I used the dev tools to delete the other notifications. I worked on the design, and used things like margin, and visual cues to isolate issues and spacing. Lastly, I added some very basic Javascript to add the ability to mark all notifications as read. Once I finished, I tested the website on multiple browsers, added some responsive design using media queries, and used the built-in device size emulation feature to view what the website would look like on different devices.

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 Daniyal Master'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
  • Use cases

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