Learn Form Validation by Building a Calorie Counter - Step 27

Tell us what’s happening:

it is showing this error but the code doesn’t have console.log in the starting code and there is nothing to remove from it
[Sorry, your code does not pass. Don’t give up.

You should not have a console.log("original string: ", str); in your code.]

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region



// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 27

hello and welcome to fcc forum :slight_smile:

  • are you sure? cause i can see in starting code there is “two” console logs, and you are supposed to remove both of them from code
  • if you are already doing that then you need to share your “attempted code” with us
  • “restart” this step and try again, this might help solve this issue

happy coding :slight_smile:

1 Like

Thanks for the solution it worked it was not showing at first i even tried by starting from step 26 and it didn’t show the console.log statement

1 Like