<script>
// Array of quotes and authors
const quotes = [
{ quote: "The only way to do great work is to love what you do.", author: "Steve Jobs" },
{ quote: "In the end, we will remember not the words of our enemies, but the silence of our friends.", author: "Martin Luther King Jr." },
{ quote: "Success is not final, failure is not fatal: It is the courage to continue that counts.", author: "Winston Churchill" },
{ quote: "The only limit to our realization of tomorrow will be our doubts of today.", author: "Franklin D. Roosevelt" },
{ quote: "Your time is limited, don't waste it living someone else's life.", author: "Steve Jobs" }
];
function getRandomQuote() {
const randomIndex = Math.floor(Math.random() * quotes.length);
const randomQuote = quotes[randomIndex];
document.getElementById("quote").innerHTML = randomQuote.quote;
document.getElementById("author").innerHTML = `- ${randomQuote.author}`;
}
</script>