7/12 Let's .focus()!


#1



I don't understand why this code is not working. I keep getting the same error messages:

  1. Please focus on input.
  2. Oops, try again. Please follow the instructions on the Full Preview page to test your code.


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


#2

You do know what this means, right?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.