Convert python code, "from psychopy import visual, core, event", to javascript

I am trying to recode all my code components from Python to Javascript so that I can run my experiment online.

How do I code the imports “from psychopy import visual, core, event” in Javascript?

You don’t. Import statements just don’t work in javascript right now. However, if you are constructing your study in the builder, you also shouldn’t need to import those at all, they’re included by default. That said, depending on what you’re doing with them, you might have to make some accommodations for JS.

ok, thank you!