Lesson 7. Let's .focus()!


#1

My code:

$(document).ready() {
    $('input').focus(function() {
        $(this).css('outline-color', '#FF0000');
    });
});

I'm not running firefox btw I'm running safari.

Error: Oops, try again. It looks like your input field's outline-color isn't red when it gains focus. Check the Hint if you need help!

Please help


#2

Function missing. $(document).ready(function() { needs to be.


#3

Oh, woops. Rookie mistake.