Newsletter Signup with Success Message using Tailwind

Solution retrospective
I am happy that I could use JS to validate the form and show the success page properly and could also make the site look something like the design using tailwind css for the first time. I would like to use a more efficient way of doing the same tasks next time.
What challenges did you encounter, and how did you overcome them?As a first time user of of tailwind, it needed some effort to find the appropriate classnames. I had to search everytime in their website. However, with time it became easier.
What specific areas of your project would you like help with?Kindly let me know how can I fix the scrolling problem of the site. though the main element covers a portion of the screen, it still shows a scroll bar.
Also, it would be really helpful if you comment about my JS. Is it a good way to validate and show/hide elements in the page or is there any better way?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Siyam Ahmed's solution.
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