Tell us what’s happening:
Repost -
Please, can someone help me here. I’ve been stuck on this step for days.
I’m so close to giving up at this point, frustrated to the absolute max. This is as close as I’ve gotten with it, what am I doing wrong.
Any help at all would be greatly appreciated.
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:");
// User Editable Region
const hasFreeCodeCamp = fccSentence.includes("freeCodeCamp");
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/140.0.0.0 Safari/537.36 OPR/124.0.0.0 (Edition std-1)
Challenge Information:
Build a String Inspector - Step 4