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 GitHubJoin 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