How can I generate divs within my form dynamically?

I want to include an + add button that will create divs like the ones in these pictures: with one text input, and the two checkboxes that are to the right.

The ones in this picture have been duplicated by hand for demonstration purposes. I would like to have the site generate as many as I need when clicking the add button (which is not displayed in this picture because it doesn’t exist yet, but it would be next to the ENVIAR button). I have found tutorials on dynamic and conditional forms on Youtube, but I don’t think that is what I am looking for.

I need to find a way of generating these divs dynamically, or am I overthinking this and there is a simpler way?

I am showcasing the site today so I have hid this portion of it, hence why I don’t supply a link to the live site.