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

Intro Component with Signup Form

J 330

@littledragonshrimp

Desktop design screenshot for the Intro component with sign-up form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Design-wise, this was incredibly easy to do. I went with a mobile-first design approach after finally getting comfortable with media queries.

HTML/SCSS:

  • Design-wise, should this be an anchor tag instead of the button element?
  • What would you change?

On the other hand, getting the javascript to do what I wanted proved incredibly challenging. Fundamentally, I understood what it needs to do to show an error message:

  • listen for empty sections in the inputs
  • adding a div or section for an error message component if there is an empty input

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