Tsallaka zuwa abun ciki
Justice Tech School

Hide, Show and Toggle

hide, show and toggle change visibility, optionally with a speed such as slow, fast or milliseconds.

Example
$('p').hide(500);
$('p').show('slow');
$('p').toggle();

Exercise

Switch visibility.

$('p').()

Quiz Test

What does toggle do?

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