Define a function named main


I feel like I'm from a different planet right now. I've followed all the exercises thoroughly (only a beginner) the site leads me onto this particular exercise. I'm so early on in the course it's ridiculous. The screen isn't even showing me any writing at all?? Is it supposed to be?? I'm writing it out anyway, even though it's invisible on the screen, and when I click 'save' etc it says the above ERROR MESSAGE: Define a function named main.


Literally nothing on screen


Have you tried

var main = function () {};



I am having this problem too, and I put this exact code! The error message still says "define a function named main" even though I've already done it, where it was supposed to be (inside apple.js script file).