Https://www.codecademy.com/courses/learn-javascript/lessons/javascript-dom/exercises/jquery-selectors?action=lesson_resume


#1

Am stuck in this lesson. Can someone help

function main(){
var skillset = $('.skillset');
}
$(document).ready(main);


#2

Hello M,

your 'var skillset' should have a $ sign in front of skill set like this: 'var $skillset'

Why? Because It is a common convention to name variables that hold jQuery selectors with a dollar sign $.


#3

This topic was automatically closed after 7 days. New replies are no longer allowed.