Hello,
I am trying to implement a simple web app, and I would ike to navigate between 2 pages using this code (I put it into my index.js file):
setTimeout( function(){window.location.href = "../pages/main2.html"},3000);
Here is my project architecture
https://ibb.co/kXmhsn
Unfortunately, I got this error
https://ibb.co/eeHcQ7
The most strange thing, that my code worked 2 days ago! I tried to test today, but in vain.
Any idea?!!!
Thank you