Number 3


#1

this is my code

      ||
      ||
      ||
      \/

$(document).ready(function() {
$('selector').addClass('highlighted')
};
===========================================================================:
whats wrong?:smile:


#2

$(document).ready(function() {
    $('selector').addClass('highlighted')
}); //added a closing bracket here

Tadaaaa
As for $('selector')... are you sure it's supposed to be just 'selector'? Bear in mind that if you have it like this, it will think it's a HTML element, not an ID or Class...
Remember
#id
.class
element