title: JS error: why can't the system find my js file
body: <p>I am making my final project for university and I need to build a game for 2 players. whenever I load in the script with  the page can't seem to find the js. I've tried to put the script in other folders and it just seems to cannot find the script. </p>
  
  <p>I placed the script in other folders, including the same folder where the current php file is. (head.php) and this did not work. If I paste the whole script file in the php file suddenly the js code does work.</p>
  
  <p>This is the code from the main file welcome.php:</p>
  
  <pre><code>&lt;script src="../scripts/validate_form.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/2Lcwj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Lcwj.png" alt="the file sortation"></a></p>
  
  <p>For debugging I put the file also in the tpl folder but that did not work either.</p>
  
  <p>It cannot find any scripts what so ever.</p>