JSFiddle - React, Tailwind, and code Playground
by Karan1412
HTML
<body>
<input type="button" id="b1" value="click" onclick="test()">
<input type="button" id="b1" value="Reset" onclick="location.reload();">
</body>
JavaScript
function test()
{
document.bgColor="black";
}