Tell us what’s happening:
I just don’t know on what mistake I am making.
I got this error.
“1. You should wrap the value returned by parseInt() in the isNaN() function. And add a third condition which checks the value returned by parseInt() to be less than 0.”
Your code so far
// User Editable Region
if (!numberInput.value || isNaN(parseInt(numberInput.value)) || numberInput.value<0) {
}
// User Editable Region