Buttons and checkboxes I. Buttons We first saw buttons back in the first jQuery example (see 'Sample jQuery scripts'). They are very easy to use. jQuery $('#b-one').click( one ); function one() { console.log('one clicked'); $('div#one p').css('color','red'); } HTML
First paragraph
Second paragraph
Third paragraph
$('div#one p').css('color','red');