JSFiddle - React, Tailwind, and code Playground

HTML

Clicking on the link should clear the screen and display progress text<br />
<span class="link" onclick="testOnClick();">
    Click here to test onClick
</span>

CSS

.link{
    text-decoration:underline;
    color:blue;
    cursor:pointer;
}

JavaScript

function testOnClick(){
    alert("onClick() support was detected!");
}