Could anyone shed some light on why my JavaScript code functions properly on localhost, but seems to stop working when deployed on Github Pages or Vercel?
Code on GitHub: https://github.com/Marincor/Bx-Bank
Deployed on GitHub Page:
Deployed on Vercel:
Upon inspecting the source code in dev tools for the index.html and cadastro.html pages, I noticed that the JS folder I have linked is missing.
Screenshot of DevTools Chrome Sources tab
Screenshot of GitHub JS folder
Screenshot of the script src inside the HTML file
I'm at a loss here, any suggestions or tips would be greatly appreciated.
Oddly enough, the home.html page seems to be able to access the JavaScript file without issue, it's just the index.html and cadastro.html pages that are having trouble.