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

Responsive coming soon page

Elaine 11,420

@elaineleung

Desktop design screenshot for the Ping single column coming soon page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Excellent work on this project, Elaine! I can see you resolved the initial HTML and accessibility issues, which is great 🙌

I've seen a couple of things after looking at your code:

  • You've added min-width: 375px; to the body. I'd recommend not doing that, as some devices are narrower than 375px, so this is causing a horizontal scrollbar.
  • I'd recommend always adding the company logo as an img tag in the HTML with an alt attribute for the company name. For example, alt="Ping" in this instance. This makes the content accessible to screen reader users.
  • If this were an actual landing page, I'd also say that the "We are launching soon!" text would be the h1. I see you've added an sr-only heading for this, but I thought it's worth mentioning.

You can tell you've paid serious attention to detail on this project. Your solution matches up to the design incredibly well. Keep up the great work! 👍

Marked as helpful

1

Elaine 11,420

@elaineleung

Posted

@mattstuddert Hi Matt, thanks for the comments and suggestions, esp. the note about the img tag. I appreciate you taking the time to check out my code and writing up feedback!

About the min-width, that's actually intentional, believe it or not... I can't recall exactly my decision for that, but I think it had to do with the responsive design mode on Firefox's inspector where the scroll bar keeps appearing even when there was nothing to scroll. Either that or something kept messing up with my pixel count, and so I decided to just slap on the min-width as a bandaid solution since I only need one fixed mobile view for the challenges anyway. It'd be different if the challenges call for true responsiveness! There's a lot of things I do here on FM that I don't normally do for my own projects 😅

The sr-only class for the h1 tag is also intentional, just for the sake of screen reader users who might actually chance upon my solutions and for them to know these are challenges/assignments and not actual pages.

Thanks again for the encouraging comments!

0
P
Matt Studdert 13,611

@mattstuddert

Posted

@elaineleung, no problem! That's a good point about the h1 related to Frontend Mentor challenges and people visiting them with no additional context.

I'd recommend having a go at resolving the min-width issue. Wherever possible, it's a great idea to treat these challenges like professional projects and build for all screen sizes. It's common to receive mobile and desktop designs, but the developer needs to account for all other possibilities. In a professional setting, you'd have the benefit of being able to sit with the designer and discuss the proposed layout changes.

Marked as helpful

0

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