Hi everyone,
I have just completed classic tic-tac-toe game project and everything works fine in my local host but not in git hub after I successfully grunt deploy.
I only worked in master branch and I pushed all my commits to github.
I run grunt deploy and got publishing link from git hub. When I click the link my page is shown like basic html and all styles that I made is broken, the page does not work.
I tried to figure it out the problem but could not find it. The only thing I observe, when I refresh the page in my local host the page appears first basic html and loading correctly with styling.
your site is being hosted on GitHub Pages at the root directory, you are quite confused because you added your two JS files at gh-pages branch at public folder, your site will not read from that branch,
in index.html src is linked to public. this is the browser template I did not make any change here. i mean I did not build it from scratch. If is the way you said it should not work in local either but it works.