The selectors you use every day
jQuery uses CSS selectors, so what you know from CSS works here.
jQuery · The selectors you use every dayBeginner
$('#menu'); // by id
$('.item'); // by class
$('a'); // by tag
$('ul li:first-child'); // CSS pseudo selectors
$('input[type="email"]'); // attribute
$('#list > li.active'); // child + class
$('h1, h2, h3'); // several at once
const count = $('.item').length; // how many were found?selectorsfindclassid