Made it with tailwindcss

Solution retrospective
Didn't know if it was better to make the "submit component" in the HTML, hided it and then change that via JS or directly do the render in JS.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @zaks276
Hello Federico. Great job on the solution. It looks amazing.
To answer your question, both methods are fine however in my experience the image tends to load more slowly when you do the render in Javascript instead of hiding the HTML and then displaying it via Javascript. Generally too much Javascript tends to slow down websites.
Hope this was helpful.
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