☘️ Responsive Interactive Newsletter Sign Up Design Component ☘️

Solution retrospective
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
Please log in to post a comment
Log in with GitHubCommunity feedback
- @steveostler
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">ash@loremcompany.com</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
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