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

responsive newsletter signup form using html and css

anthony 170

@Codingtry123

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


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

how to simplify the toggle class

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

::before does not work on input use div container to wrap input

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

how do I use validator to validate email

Community feedback

Hamid Riaz 150

@hamidriaz1998

Posted

Looking good! Regarding class toggling the toggle() function has an optional second paramter that specifies the condition for toggling. For example, toggle("dark", 5 > 2); This will toggle the class if the condition is true.

0

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