October 22, 2024
Chicago 12, Melborne City, USA
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
    enter image description here

  2. The left and right buttons in the slider component should move the slides.
    enter image description here

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

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video