title: My script src in HTML is not calling and activating my javascript file successfully
body: <pre><code>&lt;!-- Custom JavaScript file --&gt;
  &lt;scrpit src="./js/main.js"&gt;&lt;/scrpit&gt;
  </code></pre>
  
  <p>If I press control+click on this src name, i go successfully to javascript file that i want to activate (which should mean that I have wrote the file's name and place well enough), but when i open the html page the functions in the script do not work.
  To check if the problem is within the js code, i went and copied the js code inside the the html file, which worked properly.
  But why wouldnt it work when i put it in a separate js file and call the file in the manner above?</p>