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 Interactive Newsletter Sign Up Design Component ☘️

Shiv 350

@undrthegraveyard

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?

Hey, it turned out pretty well, but there is scope for improvement. 😁

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

A minor bug, but got over it as well.✌🏻

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

N/A

Community feedback

P

@steveostler

Posted

Nice solution. Can the email address be made to show in the success message?

<p>A confirmation email has been sent to <span class="submitted">[email protected]</span>. Please open it and click the button inside to confirm your subscription.
</p>
const submittedEmail = document.querySelector(".submitted");
if (validateEmail(email.value)){
        submittedEmail.innerText = email.value;
        toggleCards();
        email.value = "";
        signUpForm.classList.remove("error")

Marked as helpful

0

Shiv 350

@undrthegraveyard

Posted

@steveostler ahh, I see. Thank you so much for the tip!

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