Trying to use Atom instead of codepen but having a hard time figuring it out. how do you get JavaScript running on it?

I’m at a loss. With my setup it works fine. Here’s a screenshot of it, maybe I’ve written it a bit differently from you.

Best of luck.