JSFiddle - React, Tailwind, and code Playground

by shivaay123

HTML

<!DOCTYPE html>
<html>

<head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>

<body>
    <h1>jQuery Alert</h1>
    <script>
        $(document).ready(function () {
            $("#alert-id").click(function () {
                alert("Hello World! Welcome to upwork.");
            });
        });
    </script>
    <button id="alert-id" class="btn btn-primary">Click me to alert</button>

</body>

</html>