title: how do i loop back to the prompt if answer is incorrect javascript
body: <p>Fairly new to JavaScript how do i loop back to the prompt question if the user enters the wrong answer and i want the question to repeat until they get the correct answer. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
  
  &lt;head&gt;
      &lt;script&gt;
      &lt;/script&gt;
      &lt;title&gt; Javascript program&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;script&gt;
          var company = (prompt("What the name of the company that developed the javascript language?", ""));
          if (company == 'netscape') {
              alert("correct answer!");
  
          } else {
              alert("wrong answer");
  
          }
      &lt;/script&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>