JSFiddle - React, Tailwind, and code Playground

HTML

<!--[if IE]>
<input type="button" onclick="javascript:ie();" value="Click Me!" />
<![endif]-->
<!--[if !IE]> -->
<input type="button" onclick="javascript:notIE();" value="Click Me!" />
<!-- <![endif]-->

JavaScript

function ie() {
    alert("You are using IE");
}

function notIE() {
    alert("You are not using IE");
}