JQuery JavaScript Tutorial

< html>
  
    
    
        $(document).ready(function(){
                   $("p").hover(function () {
                      $(this).css({ backgroundColor:"yellow", fontWeight:"bolder" });
                    }, function () {
                      var cssObj = {
                        backgroundColor: "#ddd",
                        color: "rgb(0,40,244)"
                      }
                      $(this).css(cssObj);
                    });
        });
    
  
  
    
           

Move the mouse over me.