Learn Form Validation by Building a Calorie Counter - Step 33

Tell us what’s happening:

I have been struggling with my typo here I think, I can’t get passed this exercise and I don’t understand what I did wrong.

function isInvalidInput(str) {

const regex = /\de\d/i


Please post a link to the Step. Thanks

Hello, it would be helpful if you posted the link page to this challange.

There it is, sorry !

You need to put the + back in before the e. Happy coding!

Thank you so much ! You saved my day !

1 Like