$(document).ready(function() {
    %('#led_on').click(function() {
        console.log('LED on!');
    });
    %('#led_off').click(function() {
        console.log('LED off!');
    });
});

$(document).ready(function() {
    $('#led_on').click(function() {
        console.log('LED on!');
    });
    $('#led_off').click(function() {
        console.log('LED off!');
    });
});

Fix syntax error change % to $
Fix syntax error change % to $
