Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive web page with Tailwind CSS and vanilla JavaScript

@developedBySwan

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

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

Krzysztof 240

@KrzysztofLeczycki

Posted

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 modifying eventListener and rewriting it into btn.onclick = getAdvice;. Best wishes. :D

0

@developedBySwan

Posted

@KrzysztofLeczycki Thanks bro. I will check it.

0

Please log in to post a comment

Log in with GitHub
Discord logo

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