function addRandomQuote() {
  const quotes =
      ['Courage is not the absence of fear but rather the knowledge that something else is more important.',
      'We never purposely make mistakes; we only call them that in hindsight.',
      'Always be kinder than you feel.', 'Never assume it is a weakness having too much love to give.'];

  // Pick a random quote.
  const quote = quotes[Math.floor(Math.random() * quotes.length)];

  // Add it to the page.
  const quoteContainer = document.getElementById('quote-container');
  quoteContainer.innerText = quote;
}
/**
 * Adds a random quote to the page.
 */
Adds a random quote to the page.
Adds a random quote to the page .
function addRandomQuote() {
  const quotes =
      ['Courage is not the absence of fear but rather the knowledge that something else is more important.',
      'We never purposely make mistakes; we only call them that in hindsight.',
      'Always be kinder than you feel.', 'Never assume it is a weakness having too much love to give.'];
  const quote = quotes[Math.floor(Math.random() * quotes.length)];
  const quoteContainer = document.getElementById('quote-container');
  quoteContainer.innerText = quote;
}
function addRandomQuote ( ) { const quotes = [ 'Courage is not the absence of fear but rather the knowledge that something else is more important.' , 'We never purposely make mistakes; we only call them that in hindsight.' , 'Always be kinder than you feel.' , 'Never assume it is a weakness having too much love to give.' ] ; const quote = quotes [ Math . floor ( Math . random ( ) * quotes . length ) ] ; const quoteContainer = document . getElementById ( 'quote-container' ) ; quoteContainer . innerText = quote ; }
Adds a random quote to the page.
Adds a random quote to the page .
// Pick a random quote. // Add it to the page.