Back to Tutorial Paste Your Code here! <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("#hover").hover(function(){ alert("You entered hover!"); }, function(){ alert("Bye! You now leave hover!"); }); }); </script> </head> <body> <p id="hover">This is a paragraph.</p> </body> </html> Output