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

Advice generator app

@Chaffexd

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


Feedback welcome on this completed project, especially on my JavaScript.

The criteria for this project is that it gets a quote on click, I have functionality for both click and every 8 seconds, it will generate a new quote similar to a slideshow of quotes.

I'm curious to know whether the second function can somehow be nested within the setInterval function, the only issue I had was being able to call the setInterval function hence why they are separated now. I'm aware I cannot call 'setInteval' but I also couldn't store it in another variable to do what I desire. Food for through.

Thanks for looking!

Community feedback

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