JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>Stopwatch demo</title>
</head>
<body>
<h1>Stopwatch Demo</h1>
<div id="live-demo-area"></div>
<button type="button" id="start-stop-button">Start/Stop</button>
<button type="button" id="reset-button">Reset</button>
<button type="button" id="record-time-button">Record time</button>
<h2>Past times</h2>
<div id="live-demo-pasttime-area"></div>
<script type="text/javascript" src="button-functionality.js"></script>
</body>
</html>
JavaScript
jQuery("#live-demo-area").html("erida");