happy cat image

Start Web Coding

Your First step toward web coding,
Start Web Coding

change UI

jQuery Selector

Do you remember to write (.class_name) when selecting classes in CSS and (#id_name) when selecting ids?
The same is true for jQuery.
by the way . Shooting # doesn't end with shooting.
You have to put $ ('') in there.

If you don't know select, click here

Select class

$('.class_name')

Select id

$('#id_name')

Select tag

$('div')

There are many more different Selectors, but we'll do that later and know only three of these. ^^
This concludes the course on Selector.
In today's next lesson, we learned about Selector, so let's use it. ^-^ *

강좌로 돌아가기