JSFiddle - React, Tailwind, and code Playground

by ClarenceDowns

HTML

<html>

  <head>
    <title>Practice</title>
  </head>

  <body>
    <h1>
      Links
    </h1><br>
    <a href="http://jquery.com/">JQuery</a>
    <a href="cwdowns.com">My profile</a>
  </body>

</html>

JavaScript

$(document).ready(function() {
        $("a").hover(function() {
          alert("Hovered on an anchor")
        });
        $("h1").click(() => {
          alert("Just clicked that h1");
        })
      })