JSFiddle - React, Tailwind, and code Playground
HTML
<script type="text/javascript">
function confirmFunction(){
var r = confirm("Confirm that you have signed the form!");
if (r==true){
window.open("http://smartpathrealty.com/smart-path-member-page/");
}
}
</script>
<script>
confirmFunction();
</script>