JSFiddle - React, Tailwind, and code Playground

by vitormosousa

HTML

<!DOCTYPE html>
<html>

  <head>
    <title>Javascript External Script</title>

  </head>

  <body>
    <input type="button" onclick="Hello();" name="ok" value="Click Me" />
    <hr>
    <p onmouseover="EventHandler();">Bring your mouse here to see an alert</p>

  </body>

</html>

JavaScript

function Hello() {
  alert("Hello, World");
}

function EventHandler() {
  alert("I'm event handler!!");
}