JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrap">
<textarea></textarea>
<div class="msg"></div>
</div>
CSS
.wrap { margin: 30px; }
.msg { color: #666; height:30px;}
textarea { width: 500px; height: 100px; }
JavaScript
$('textarea').bind('input propertychange', function() {
$('.msg').html($(this).val().length + ' characters');
});