New course! Every coder should learn Generative AI!
Try a free lesson+ 13
In short -
Selector is used for select an HTML element
------------------------------------
<span id = "myId" class = "myClass> </span>
$("#myId"); // For id
$(".myClass"); // For classes
$("span"); // For tag
------------------------------------
Bye. ^_^