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

Base Apparel Coming Soon page, Vanilla HTML/CSS/JS

P

@tarasis

Desktop design screenshot for the Base Apparel coming soon page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


How best to handle the submit button and error image beside the text field? Originally I had the input in a form (class names still reflect that), but I could get a sensible layout. Then I swapped the input to being in a div, and using display flex for the input, error and submit button. The issue is that it truncates the textfield more than I'd like, particularly on the mobile size.

I tried to use position: relative and right: but couldn't get it working correctly.

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