JSFiddle - React, Tailwind, and code Playground

by Shishir Max

HTML

<button onclick="go()">
Click
</button>

JavaScript

function go(){
alert("heyyyyyy");
window.location = "https://www.yahoo.com";
}