Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 4 years ago

BEM Vanilla CSS Media Query with adjustment of Min Width

Mipsmonsta•150
@mipsmonsta
A solution to the Intro component with sign-up form challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


For my implementation of the input error icon and box, it's done with a div tag and img tag that are below the input tag. When validation error is detected, the input tag visibility is made hidden to reveal the div tag and img tag. If latter are clicked, the visibility of the input tag is restored. Why this implementation is due to revelation that the border of the input tag cannot be modified to take on a red border if there are errors. Pls let me know what are other solutions to tackle this part of the design. Thanks!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Mipsmonsta's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License