JSFiddle - React, Tailwind, and code Playground

by mwfire

HTML

<input type="button" onClick="save" value="Save">

JavaScript

function save() {
    setTimeout(function() {
        window.location.href="http://yoururl.com";
    }, 1000);
}