This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Objects in PHP Forum

View Course » View Exercise

46 points
3e9397ccce7dd819cb886839411ac4d3?s=140&d=retro
Submitted by
harold1998
almost 4 years ago


1 vote

permalink

Why is this in the PHP section? Here's the correct link for the Q&A Forum: http://www.codecademy.com/forums/getting-started-v2/3

I tried submitting, and it worked for me. I don't think you're doing anything wrong. For people seeing this: This is the code in the project (it's JavaScript):
// Use console.log( ) to print out the substrings.
// Here is an example of the 1st to 4th letter of "JavaScript":
// console.log("JavaScript".substring(0,4));
console.log("January".substring(0,3));
console.log("Melbourne is great".substring(0,12));
console.log("Hamburgers".substring(3,10));

It returns:
Jan
Melbourne is
burgers

I've done these lessons before. It's right.

1011 points
527ee7e0f10c60dc050055bd_240149800
Submitted by
Maxwell Jardetzky
almost 4 years ago

1 Comment

527ee7e0f10c60dc050055bd_240149800 Maxwell Jardetzky almost 4 years ago

Could you show me exactly what's wrong?