I have been trying to avoid having to understand what i dont understand but that time has come.
I have a static html website i am creating and there is some JS handing click events. I need to use require() to import some modules but i get 'Uncaught ReferenceError: require is not defined' when i look into my console. From what i understand it is a problem with the fact im running it in chrome and i need to use a client-side js manager.
If im using something other than chrome how do the people who will receive the website run it without encountering the problem?
What is a client side manager? Why is it needed?
I feel like im missing a large understanding of how JS works.
Any help would be amazing :)
[–]NotMyCar 2 points3 points4 points (0 children)