Tsallaka zuwa abun ciki
Justice Tech School

jQuery Syntax

The basic form is $(selector).action(). The dollar sign finds elements and the action does something to them.

Example
$('button').click(function () {
  $('p').hide();
});

Exercise

Pick the action.

$('p').()

Quiz Test

What does $(selector).action() do?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.