title: Javascript file not working on github pages
body: <p>I am able to load my javascript file on the local machine. But on github pages, it is not working.</p>
  
  <p>I have included the file in index.html as </p>
  
  <pre><code>&lt;script src="script.js" type="text/JavaScript"/&gt;
  </code></pre>
  
  <p>The website is <a href="https://abhikulshrestha22.github.io./" rel="noreferrer">https://abhikulshrestha22.github.io./</a></p>
  
  <p>The code is at <a href="https://github.com/abhikulshrestha22/abhikulshrestha22.github.io" rel="noreferrer">https://github.com/abhikulshrestha22/abhikulshrestha22.github.io</a></p>
  
  <p>Any help would be appreciated. Thanks in advance.</p>
  
  <p><strong>Edit 1</strong>
  I tried to add the following code in my javascript file to check if its working, but it is not working on github page and working locally.</p>
  
  <pre><code>$(document).ready(function(){
      alert("hi");}
  </code></pre>