Created a webpage, working perfectly in my local system or localhost but after pushing the directory in github, the css file and js file is not rendered, only the html file is rendered. I dont understand where the mistake is. Kindly give your advise.
Can you explain what you mean by “after pushing the directory github, the css files and js file is not rendered”? Once you push to GitHub, how are you attempting to access the webpage after it is pushed up to GitHub? Can you provide the url you are trying to access?
I don’t understand what issue you are having. In your original post you said it was working fine locally but not working when you pushed to GitHub. Now, you say the deployed version is working fine. So what version is not working?
I tested it locally and tested the https://akshaykumarmondal.github.io/RandomColorGenerator/ version and it works the same as the local version.
Hello. I am not the original poster. I’ve just checked version of original poster’s app on github pages and I wasn’t able to find any issues. Sorry if my post was confusing.