Build a String Inspector - Step 2

Tell us what’s happening:

I wrote the console.log statement exactly as required to print the message, but the exercise still does not pass. I checked for spelling mistakes, quotation marks, and extra code, but I cannot find the issue. I need help understanding why the platform is rejecting my correct solution.

Your code so far

const fccSeconst fccSentence = "freeCodeCamp is a great place to learn web development.";



// User Editable Region

console.log("Here are some examples of the includes() method:" );

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36

Challenge Information:

Build a String Inspector - Step 2

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

you have made changes to this line here, this causes the syntax error
reset the step to restore the code

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.