yesamarcos

jQuery CodeAcademy Error

Sep 27th, 2014
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.19 KB | None | 0 0
  1. $(document).ready(function(){
  2.  
  3.   $("div").hover(
  4.     function(){
  5.         $(this).addClass('active');
  6.     },
  7.     function(){
  8.         $(this).removeClass('active');
  9.     }
  10.    
  11.     );
  12.  
  13. });
Advertisement
Add Comment
Please, Sign In to add comment