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

Blogr Landing Page - React.JS / SCSS

@dgdev1024

Desktop design screenshot for the Blogr landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Had a couple of headaches with this one...

  1. The header bar was a rough time to get right. I managed it by using separate components for submenus on mobile screens and on desktop screens, and I think it turned out great.

  2. The sections with the large images that go off-screen was another trouble spot for me. It still doesn't line up with the header's container margin on larger screens, but I'll take what I got.

At the end of the day, I like how this turned out in the end. This was also my first project using the Vite.JS application bundler. Let me know what you think.

Community feedback

P
tediko 6,580

@tediko

Posted

Hello, Dennis Griffin! 👋

Congrats on finishing another challenge! Your solution responds well. Here's my few suggestions:

  • I think applying opacity to header on scroll is bad in this case. It's hard to see elements in header.
  • Change .header__submenu-title color to be more white, this grayish color is very hard to read.
  • Since your .phones__image is decorative your alt text should be provided empty (alt="") so that they can be ignored by assistive technologies, such as screen readers.
  • Add :focus pseudo class to interactive elements like anchors, buttons etc. Use outline property to make your website more accessible to keyboard users. Focusable elements like anchor, buttons or inputs they have applied default :focus pseudo class with outline property. These default styles are subtle and hardly visible tho. Furthermore every browser has a slightly different default style for the outline, so you probably want to change the default style. Read more about why we should change focus styles.

Good luck with that, have fun coding! 💪

1

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