Submitted over 2 years ago
Responsive web page with Tailwind CSS and vanilla JavaScript
@developedBySwan
Design comparison
SolutionDesign
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.
Community feedback
- @KrzysztofLeczyckiPosted over 2 years ago
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. :D0@developedBySwanPosted over 2 years ago@KrzysztofLeczycki Thanks bro. I will check it.
0
Please log in to post a comment
Log in with GitHubJoin 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