How do I show the label name and the input name only when the user selects the inactive option?
<div>
<label>Status</label>
<select name="status">
<option value="Ativo">Ativo</option>
<option value="Inativo">Inativo</option>
</select>
</div>
<div>
<label>Nome</label>
<input type="text" name="nome">
</div>