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

Newsletter challenge

@mfreire1996

Desktop design screenshot for the Newsletter sign-up form with success message coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


First time doing a challenge for Frontendmentor and it was quite an enjoyable journey. The difficult part for me was getting my javascript to work how I would normally do for my css. It still has some flaws in it such as when the user clicks submit and dismiss message the container now gets all squished even with the media queries. If anyone can tell me some better practices for my javascript that would be truly helpful. Thank you

Community feedback

@tasandra

Posted

Hi, nice job. Everything aligns perfectly. I think the problem with dismiss button is you have container display: grid is css, but in javascript when the user click on dismiss button you assign it to display: block

Marked as helpful

1

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