0 / 60 seg.

To validate in JavaScript that a numeric input field does not exceed a maximum value of 50, what would be the appropriate code?

<input type="number" id="numericField">
const numValue = document.getElementById('numericField').value;