JSFiddle - React, Tailwind, and code Playground

HTML

<div id = "params">
    Type: <input id = "type" type = "text" />
    Parameters:<input type = "text" />
    Required: <input type = "checkbox" />
    <button id = "addpa">Add Parameter</button>
</div>

JavaScript

$("#addpa").click(function() {
        $("#params").append("Parameters:<input type = \"text\" /><br>Required: <input type = \"checkbox\" >");
});