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

SMACSS'ish design with hidden error message

Jeremy Ng•200
@lanechanger
A solution to the Pod request access landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hi everyone,

Thanks for checking my solution out.

Had a question regarding the error message. I implemented it by having its visibility set to none and then just "turning it on" if needed. This way I can plan for the space that it takes when I do the layout around it. But was wondering if that's best practice or it's better to do it by display: none and adjusting the space as needed.

Jeremy

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 Jeremy Ng'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
Frontend Mentor logo

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

Frontend Mentor

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

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