Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 9 months ago

Card layout using grid flexbox and JS EventListener

LouisVerch•180
@LouisVerch
A solution to the Newsletter sign-up form with success message challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

Did the JS code all by myself quite proud of this. I should have started with a grid design because I had to redo my code after starting with a flex design

What challenges did you encounter, and how did you overcome them?

I struggled with mediaquery not overwriting a JS .style.display = "block" on my main card when i resized the window so I had to redo my mobile layout with grid so that I could simply do a style.display = "grid"

What specific areas of your project would you like help with?

Please evaluate my CSS file and HTML as I think I'm a bit far off BEM methodology even though I tried

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 LouisVerch'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

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