If i refresh my project in inspect mode its stop to use locomotive js any destroy the whole project

Issue with Locomotive JS After Reloading in Inspect Mode

I have cloned the Works.Studio.com webpage and successfully added responsiveness to my project. Everything works fine, including the Locomotive JS functionality, when I am not in Inspect mode. However, after reloading the page while in Inspect mode, the Locomotive JS stops functioning.

You can view the project here: https://examplezz-id122.github.io/project_work_studio/

How can I resolve this issue to ensure that Locomotive JS continues to work correctly even after a reload in Inspect mode?

  1. I check the console error first but there should be no error.

  2. I check if the link is broken or not, but all links are proper.

  3. I asked ChatGPT and other ai tools about my problem, but they not satisfied me.

  4. before reloading Screenshot of without reloading

  5. after reloading Screenshot of after reloading