OiO.lk Blog HTML JavaScript components working in testing mode but not after published live
HTML

JavaScript components working in testing mode but not after published live


I’ve created a simple website template with HTML, CSS, and JavaScript. I tested it manually in Live Server mode (Visual Studio Code), and everything worked fine. I’ve updated the website’s code, and while running it live, I noticed that the features depending on JavaScript don’t work.

I’m talking about 2 features having the issue:

  1. Hamburger menu button on mobile should open the drop-down menu

  2. The left and right buttons in the slider component should move the slides.

All these features worked perfectly while testing but they doesn’t work after updated to the live website. I’m sure that the folders are properly updated and I’m sure that this isn’t a cache issue.

You may check out the code source here: https://github.com/NoToolsNoCraft/Basic-website-template-optimized-for-Desktop-and-Mobile

You may check out the app live here: https://notoolsnocraft.tech/basic-website-template-html-css-js/



You need to sign in to view this answers

Exit mobile version