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

Responsive layout using CSS Grid and JavaScript

FranciscoDavidCampuzanoMelgarejo•130
@FranciscoDavidCampuzanoMelgarejo
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?

I'm proud of the final look. I think it fits the given design quite well. Next time I will focus on structuring the CSS code better

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

The main challenge is to modify the HTML code dynamically using JavaScript. Additionally, there are small variations to the success message on mobile and desktop. First I started with the HTML and CSS code, and once the visual section was finished I started with the JavaScript part (having to add a little more CSS). The most difficult thing is to make everything look as similar as possible to the given design.

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

Mainly to better structure and reuse my CSS code. I think the HTML and JavaScript part is fine, but my CSS code always ends up being a bit confusing.

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