JSFiddle - React, Tailwind, and code Playground

HTML

<div id="dftenglist">
    <label for="dtfeng">Name:</label>
    <input type="text" class="dfteng">
    <button id="plusdfteng">+</button>
</div>

JavaScript

$("#plusdfteng").click(function () {
    $("#dftenglist").append('<br><span><label for "a">Name:</label><input type="text" class="dfteng"> <button class="minusbtn">-</button></span>');
});

$("#dftenglist").on("click", ".minusbtn", function () {
    $(this).parent().prev('br').addBack().remove();
});