Is there a function in javascript, that allows to add a card when i press a button

Screenshot_1, A table with three dropdowns

As i mentioned in the heading, I'm developing a website, that contains three elements, which are placed inside a table and i have a button, when i click that button the entire form has to be added one by one.

Is there any answers that could help me to solve

Thank you