Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
The problem here was resolved by moving the @require script inside the DOMContentLoaded listener like in this link. I think the main problem was that the interpreter was causing conflicts, since i...
Answer
#1: Initial revision
The problem here was resolved by moving the `@require` script inside the `DOMContentLoaded` listener like in this [link.](https://gist.github.com/razetime/053c80f62b8b820b69721b18cdfc27eb#gistcomment-3577009) I think the main problem was that the interpreter was causing conflicts, since it was getting loaded before the page loaded. I'd appreciate it if someone could find a way to make this work with `@require` in it though.