JSFiddle - React, Tailwind, and code Playground
by shahrukh007
HTML
<html>
<body>
<h2>sample</h2>
Enter Text:<input type="text" id="text"><br>
<div id="list"></div>
<button type="button" onclick="myFunction();">Submit</button><br>
<script>
function myFunction(){
$("#fieldList").append("<input type='text' />");
</script>
</body>
</html>