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

All paragraphs red

First paragraph

Second paragraph

Third paragraph

$('div#one p').css('color','red');

I always assign an id to each button. II. Checkboxes (on Monday)