This question has already been answered:
- Tell me the modular system js 1 answer
Hello. I am writing code that is quite huge. Maybe I'm doing something wrong, but as long as everything works and suits me)) The problem is that the more the code, the less it is clear and readable. I would like to split it into several .js files and connect using import. Is it possible? If so, please explain how to do it. Worked only with js and jquery . I don't have much JS skills. So I ask you to state everything in order, if not difficult.