Why does my JS not work?

So, I was doing a tutorial for space invaders, and i did the same exact code as the tutorial. The tutorial looked like this:

But mine looks like this:

Can someone tell me what i did wrong?
PS mine isn't any smaller it's just zoomed out

You are viewing a single comment. View All

@InvisibleOne If you only have one argument then you can omit the parenthesis on an arrow function...