What does the selector syntax mean in this code? I\'ve seen selectors like div or #someId but I\'m confused what the
div
#someId
$('') will not select a div from your html, but create a new one. Also it can be written like $(''), first one is just a shorthand for second.
$('')