title: How to build a string with a loop?
body: <pre><code>var game = prompt('Do you want to play?');
  
  var i = 0;
  do {
    if (prompt === 'Yes');
    {
      var game2 = prompt('Enter your word.');
      var game3 = prompt('Do you want to play again?');
    }
    i++;
  } while (game3 !== 'No');
  {
    console.log(game3);
  }
  
  console.log("You're words are: " + game2);
  </code></pre>
  
  <p>How do I take all the words outputted from this loop and build a string with it?</p>
  
  <p>Ex: if all my words are "basketball, football, racing"</p>
  
  <p>I want them to come out outputted like --> basketball football racing </p>