function displayQuote() {
const quotes = [
"Don't watch the clock; do what it does. Keep going.",
"Believe you can and you're halfway there.",
"Success is not final, failure is not fatal: It is the courage to continue that counts.",
"Either you run the day or the day runs you.",
"You are never too old to set another goal or to dream a new dream.",
"I can't change the direction of the wind, but I can adjust my sails to always reach my destination."
];
const randomQuote = quotes[Math.floor(Math.random() * quotes.length)];
document.getElementById('quote').innerHTML = randomQuote;
}
sachidumaleesha / anime-webapp Goto Github PK
View Code? Open in Web Editor NEWServer Side Rendering Web Application
Home Page: https://anime-webapp.netlify.app/