Stupid string inspector doesn’t even tell me what the problem is
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");
console.log(hasFreecodeCamp);
// User Editable Region
let message = `${hasFreeCodeCamp}` "returns true because the word "freeCodeCamp" is in the sentence.";
console.log(message);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3.1 Safari/605.1.15
I keep being told what message I should log rather than being told what the problem is, even after logging in the new code and revising it over and over again
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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3.1 Safari/605.1.15
Wait, so how do I change them to straight quotes? Should I just copy from the editor? And what’s weird is that I read someone else who had that same problem, and they had curly quotes, so I looked at mine but mine seemed straight in the editor…