JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://www.dingyu.me/blog/files/jquery-countdown-plugin/jquery.countdown.js"></script>
<span id="count">8</span>
<input type="button" id="start" value="start" />
<input type="button" id="pause" value="Pause" />
<input type="button" id="resume" value="Resume" />

JavaScript

function start() {
    $('#count').countdown({seconds: parseInt($('#count').text())});
}
function pause() {
    $('#count').countdown.stop();
}
$('#pause').click(pause);
$('#resume').click(start);
start();