Entrada HTML Inválida
<input type="number" min="1" max="5" value="10" required/>
input:invalid {
background-color: purple;
}
Suraj Kr Thapa
<input type="number" min="1" max="5" value="10" required/>
input:invalid {
background-color: purple;
}