---
id: 64005eb6d2d06a15d9f7611f
title: Step 10
challengeType: 0
dashedName: step-10
---
# --description--
In an earlier project you learned about truthy and falsy values, which are values that evaluate to `true` or `false`. In JavaScript, some common falsy values you'll see are `null`, `undefined`, the number `0`, and empty strings.
Rather than check if a value is equal to a falsy value, you can use the logical NOT operator (`!`) to check if the value itself is falsy. For example:
```js
const num = 0;
console.log(num === 0); // true
console.log(!num); // true
```
Update the condition in your `if` statement to use the logical NOT operator to check if `numberInput.value` is falsy.
# --hints--
You should use the logical NOT operator (`!`) to check if `numberInput.value` is falsy.
```js
assert.match(String(checkUserInput), /if\s*\(\s*!\s*numberInput\s*\.\s*value\s*\)\s*\{|if\s*\(\s*!\s*numberInput\s*\[\s*('|"|`)value\1\s*\]\s*\)\s*\{/)
```
The body of your `if` statement within `checkUserInput` should be empty.
```js
assert.match(String(checkUserInput), /if\s*\(\s*.+\s*\)\s*\{\s*\}/);
```
# --seed--
## --seed-contents--
```html