JSFiddle - React, Tailwind, and code Playground

HTML

<div id="odometer" class="odometer">123</div>

CSS

</style>
<link rel="stylesheet" href="http://github.hubspot.com/odometer/themes/odometer-theme-car.css" />
<script src="http://github.hubspot.com/odometer/odometer.js"></script>
<style>
.odometer {
    font-size: 40px;
}
</style>

JavaScript

setTimeout(function(){
    odometer.innerHTML = 123456;
}, 1000);