Problem with jQuery Selectors Exercise #5


The instructions are:
Let's select the element with the class of skillset, but this time with jQuery.

In js/main.js, inside the main function, write a variable named $skillset. Set $skillset equal to a jQuery selector for the skillset class.

Error message reads "Expected an identifier and instead saw "var".

I am missing something; I cannot figure out what is wrong with this code. My code is copied below:

**function main() var header = $skillset = $('.skillset'); {**


Recommend complete the JavaScript track first, before attempting this jQuery module. Clearly there are some missing components in your skillset. Topic closed.