JSFiddle - React, Tailwind, and code Playground

by Manuel Gertrudix

HTML

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("#p1").mouseleave(function(){
        document.write("Esto es un ejemplo del evento mouseleave");
    });
});
</script>
</head>
<body>

<p id="p1">Este texto va a cambiar cuando el foco pase por el párrafo p1 y luego lo abandone</p>

</body>
</html>