JSFiddle - React, Tailwind, and code Playground
HTML
<a href="javascript:void()" onclick="disp_qa()">Add another question</a><br/><br />
<input type="text" id="form_d" class="textbox" />
<input type="text" id="form_da" class="textbox" />
CSS
.textbox {display:none;}
JavaScript
function disp_qa()
{
document.getElementById("form_d").style.display="block";
document.getElementById("form_da").style.display = "block";
}