JSFiddle - React, Tailwind, and code Playground
HTML
<body>
A red background.
<button>Reload</button>
</body>
CSS
body {
background-color: red;
color: white;
margin: 20px;
}
JavaScript
$("button").click(function(){
location.reload();
})