I am able to load my javascript file on the local machine. But on github pages, it is not working.
I have included the file in index.html as
<script src="script.js" type="text/JavaScript"/>
The website is https://abhikulshrestha22.github.io./
The code is at https://github.com/abhikulshrestha22/abhikulshrestha22.github.io
Any help would be appreciated. Thanks in advance.
Edit 1 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.
$(document).ready(function(){
alert("hi");}
from Javascript file not working on github pages
No comments:
Post a Comment