Bug on #23 - More Substring Practice?


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/getting-started-v2/3/6?curriculum_id=506324b3a7dffd00020bf661

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
No matter what I enter, I receive the error “Oops, try again. You didn’t select the right substring from “January”.”

The exercise is asking that I show only “Jan” from “January” in the console.

```

“January”.substring(0,3);

<do not remove the three backticks above>

After changing the coordinate to a number of different combinations, nothing is proving fruitful, even when running this line by itself and seeing "Jan" in the console.

#2

Have you used the console.log() Method as they asked
like
console.log("January".substring(0,3));

==the Book==
https://developer.mozilla.org/en-US/docs/Web/API/Console/log
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr
==discussions / opinions==
https://stackoverflow.com/questions/3745515/what-is-the-difference-between-substr-and-substring


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.