JSFiddle - React, Tailwind, and code Playground

by Tianyun Ling

HTML

<input type="text" name="name1" id="name1" onkeyup="count_word()">
        <span id="show_length">0</span>/50

JavaScript

alert('x');

function count_word(){  
alert('x');
}