-
GitHub
victorbip/victorbip.github.ioContribute to victorbip/victorbip.github.io development by creating an account on GitHub. For some reason the JS isn’t working on https://victorbip.github.io/ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, welcome to the GitHub Support Community! I’ve noticed that in your CSS stylesheet and JS script you’re calling each starting with To call your JS script, use Hope this fixes your issue. If you have anymore trouble, don’t hesitate to reply back! |
Beta Was this translation helpful? Give feedback.
Hey, welcome to the GitHub Support Community! I’ve noticed that in your CSS stylesheet and JS script you’re calling each starting with
assets/
instead of./assets/
;./assets/
will ensure that you’re first defining the current directory and then moving onto the next directory.To call your JS script, use
<script src="./assets/js/script.min.js"></script>
. To call your CSS stylesheet, use<link rel="stylesheet" href="./assets/css/styles.min.css">
.Hope this fixes your issue. If you have anymore trouble, don’t hesitate to reply back!