Build a String Inspector - Step 4

Tell us what’s happening:

i can’t find the error, i already asked chatgpt and still got nothing, i already searched on the forum and still nothing.

Your code so far

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

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

const hasFreeCodeCamp = fccSentence.includes("freeCodeCamp");

// User Editable Region

console.log(`fccSentence.includes(“freeCodeCamp”) returns ${hasFreeCodeCamp} because the word “freeCodeCamp” is in the sentence.`);

// 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/144.0.0.0 Safari/537.36

Challenge Information:

Build a String Inspector - Step 4

Your log includes curly quotes rather than straight quotes.

As you progress in your coding journey, it’s best to copy/paste messages from the instructions to avoid this type of issue.

1 Like

it worked, ty so much for the help

1 Like