Code wrong for basic js skeleton?



I am on the first task for the interactive newsreader website and I seem to of messed the code up for the basic skeleton, however I can't see what's wrong.

Here is my code;

var main = function() }


The prompt box says "Expected ' { '


Hi Darrenlawes,

Try swapping the first closing curly brace (}) for an opening one ({) :)


Thanks - noob error :smile: