JSFiddle - React, Tailwind, and code Playground

by shawson

HTML

<body>
    Type some numbers... then some letters...<br />
    <input type="number" /><br />
    You entered : <br />
    <ul>
    </ul>
</body>

JavaScript

$('input').keyup(function() {
    $('ul').append('<li>' + $(this).val() + '</li>');
});