i'm stuck to print out substring for. "jan" In "january"


That would be, "January" since it is a proper name.

"January".substring(0, 3);

Insert the above into,

console.log( ... ):

and you're set.


when i insert
"january" .substring(0,3);
its not going through , its say i should use the correct substring for january


There should be no white space, and you still need to capitalize...