title: how to redirect on a if loop html
body: <p>I'm a kind of noob in HTML
  here's my code 
  the problem:
  the if loop needs to redirect to a HTML containing links to all the levels
  `
  
  <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;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;title game beta&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;script&gt;
      //crap ton of functions
      // basicly theres a function thats updates the frames 
      // theres a if ststement and that if statement
      // needs to redirect like this:
      function update()
      {
        if (score = 6)
        {
          //redirect
        }
      }
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>