Exercise 23 incorrect substring


This is the code I entered:
console.log("Melbourne is great".substring(0,12));

The red error message at the bottom shows that I selected the wrong substring from January, but nowhere else. I am confused, can anyone point out an error?


It should be January - with an uppercase J.


lol, thank you! that fixed it. :smile:


I have the same thing, but uppercase J didn't fix it for me


If you post your code then someone will help you spot the problem.

If you need it: How to post code in this forum.


had the same problem..thanks a lot guys am on a coding streak now


don't put //console.log
just use console.log
the // messes it up


// are used to indicate comments


Thanks guys! I appreciate all the help