The third question states
14
Incorrect.
Remember that the indexOf() method is case sensitive.
Except that the requested word Javascript is capitalized the same as JavaScript in the sentence.
The third question states
14
Incorrect.
Remember that the indexOf() method is case sensitive.
Except that the requested word Javascript is capitalized the same as JavaScript in the sentence.
if I found the correct question, the code block is
const str = "I am learning JavaScript.";
str.indexOf("Javascript");
they are not capitalized the same, so indexOf will not find Javascript inside str, because there isn’t, instead there JavaScript which has a different capitalization
the feedback is correct