UNPKG

vansh_task_3

Version:

Task of Practical 3

32 lines (29 loc) 1.62 kB
const quotes = [ "Believe in yourself and all that you are. Know that there is something inside you that is greater than any obstacle.", "Don’t let yesterday take up too much of today.", "The harder you work for something, the greater you’ll feel when you achieve it.", "Push yourself, because no one else is going to do it for you.", "Dream bigger. Do bigger.", "Great things never come from comfort zones.", "Small progress is still progress.", "Your limitation—it’s only your imagination.", "Don’t watch the clock; do what it does. Keep going.", "Difficult roads often lead to beautiful destinations.", "Success doesn’t just find you. You have to go out and get it.", "It always seems impossible until it’s done. — Nelson Mandela", "Start where you are. Use what you have. Do what you can. — Arthur Ashe", "Hardships often prepare ordinary people for an extraordinary destiny. — C.S. Lewis", "Success is not final, failure is not fatal: It is the courage to continue that counts. — Winston Churchill", "Work hard in silence, let your success be the noise.", "Don’t stop when you’re tired. Stop when you’re done.", "Success usually comes to those who are too busy to be looking for it.", "Wake up with determination. Go to bed with satisfaction.", "Do something today that your future self will thank you for." ]; function randomQuotes() { let randomNumber = Math.floor(Math.random() * 20) console.log(quotes[randomNumber]) } module.exports = { randomQuotes }