4/12 Combining .click() and .hover() HELP don't know what is wrong


$(document).ready(function() {
    $('div').click(function() {
    $('div').hover(function() {

This code is not working


Your hover function is inside the click function. There will be hover effect only when you click on the div element.
Close the click function with }); before the hover function.


Thank you so much it worked!! :smiley: