Date-Based Random Quote Generator?

I want to build on what I learned in the random quote generator tutorial by @sok213)by creating something that generates a new quote every 24 hours instead of using the button. Not sure where to start. Thanks!

Could you provide a link to the tutorial?

I would just make an array of quotes, and set a function to check the date, then every time the day changes have a function iterate through your quote array.

2 Likes

Thank you! I will start there.

Here you go: https://www.freecodecamp.org/news/creating-a-bare-bones-quote-generator-with-javascript-and-html-for-absolute-beginners-5264e1725f08/