I have two inputs and I need the value of the input of term to be greater than the value of the start input. Both are text type. Could someone help me?
<div class="w3-half">
<label>Data de Início</label>
<input type="text" name="data_inicio" class="w3-input w3-border" placeholder="YYYY-MM" maxlength="7" minlength="7" pattern="^\d{4}-\d{2}$" title="Insira o valor no formato solicitado: YYYY-MM" required />
</div>
<div class="w3-half" style="width: 40%">
<label>Prazo</label>
<input type="text" name="prazo" class="w3-input w3-border" placeholder="YYYY-MM" maxlength="7" minlength="7" pattern="^\d{4}-\d{2}$" title="Insira o valor no formato solicitado: YYYY-MM" required />
</div>