Responsive web page with Tailwind CSS and vanilla JavaScript

Solution retrospective
Hello Coders,
This is first of my project use tailwind CSS. I hope I can get useful feedback from you guys.
- my code is messy Or readable.
- what about my JavaScript ( Is there any problem? )
Thanks for your time and happy coding buddy.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @KrzysztofLeczycki
Hey, your app doesn't work as it should because your async function repeatedly runs after 10s, and your button does nothing. Change or remove this
setInterval(getAdvice, 10000);
I also tried modifyingeventListener
and rewriting it intobtn.onclick = getAdvice;
. Best wishes. :D
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