0 / 60 seg.

To validate that a text field does not contain numbers, which JavaScript code snippet could be used?

<input type="text" id="username">
const username = document.getElementById('username').value;