@josuez2006
Posted
Hey there, you did a fantastic work! 😄
Consider these fixes to make it even better
1 - Use data attributes to display the form or the thank-you modal
<form class='sign-up' data-hidden=false>...</ form>
<section class='thank-you-modal' data-hidden=true>...</section>
[data-hidden=false] {
display: none;
}
[data-hidden=true] {
display: flex;
}
signUpForm.setAttribute('data-hidden', 'false');
thankYouForm.setAttribute('data-hidden', 'true');
2 - Use the picture tag to change the image depending the screen size
<picture>
<source src="./assets/images/illustration-sign-up-desktop.svg" media="(min-width: 600px) />
<img class="modal-img" src="./assets/images/illustration-sign-up-mobile.svg" alt="Form Illustration"/>
</picture>
3 - Look at your span tags. Most of them are paragraphs and should be a p tag.
<p class="description">
Join 60,000+ product managers receiving monthly updates on:
</p>
If you find this useful, please mark it as helpful
Have an amazing day 😁
Marked as helpful
@nmrtsnh
Posted
@josuez2006 Thank you for the feedback. I'll work on that.