function addRandomGreeting() {
  const greetings =
      ['"Wheres my super suit!?" ~Frozone', '"You sly dog! You got me monologuing!" ~Syndrome', '"No capes！" ~Edna Mode', '"This is a hobo suit, darling." ~Edna Mode'];

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

  // Add it to the page.
  const greetingContainer = document.getElementById('greeting-container');
  greetingContainer.innerText = greeting;
}
// Adds a random greeting to the page.
Adds a random greeting to the page.
Adds a random greeting to the page .
function addRandomGreeting() {
  const greetings =
      ['"Wheres my super suit!?" ~Frozone', '"You sly dog! You got me monologuing!" ~Syndrome', '"No capes！" ~Edna Mode', '"This is a hobo suit, darling." ~Edna Mode'];
  const greeting = greetings[Math.floor(Math.random() * greetings.length)];
  const greetingContainer = document.getElementById('greeting-container');
  greetingContainer.innerText = greeting;
}
function addRandomGreeting ( ) { const greetings = [ '"Wheres my super suit!?" ~Frozone' , '"You sly dog! You got me monologuing!" ~Syndrome' , '"No capes！" ~Edna Mode',  ' This is a hobo suit, darling." ~Edna Mode']; const greeting = greetings [ Math . floor ( Math . random ( ) * greetings . length ) ] ; const greetingContainer = document . getElementById ( 'greeting-container' ) ; greetingContainer . innerText = greeting ; }
Adds a random greeting to the page.
Adds a random greeting to the page .
// Pick a random greeting. // Add it to the page.