title: HTML, JavaScript and ERR_FILE_NOT_FOUND error
body: <p>I have a simple html page with javascript code.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
     &lt;head&gt;
        &lt;meta charset="utf-8" /&gt;
        &lt;title&gt;Sink The Battle Ship&lt;/title&gt;
     &lt;/head&gt;
     &lt;body&gt;
        &lt;h1&gt;Battleship&lt;/h1&gt;
        &lt;script src="battleship.js"&gt;&lt;/script&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>JavaScript</strong></p>
  
  <pre><code>var location = Math.floor(Math.random() * 5);
  var numberOfGuesses = 0;
  var isSunk = false;
  var guess;
  var guess = prompt("Ready, aim, fire! (enter a number from 0-6):");
  var guessedLocation = parseInt(guess);
  console.log(guess);
  console.log(guessedLocation);
  </code></pre>
  
  <p>Every time I launch the html in browser, the prompt displays and when I enter a value, it gives me an error "ERR_FILE_NOT_FOUND". It looks like the browser is trying to re-direct to a page with the value I entered. Any idea what is going wrong here? I tried opening the html in different browsers and still no luck.</p>