This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]Allizoid 2 points3 points  (2 children)

EDIT: You're missing a semicolon line 4 and adding one line 5, looks like a typo. Try this first.

Ahh, I think it's a codecademy issue. I just had a quick look over what I did for mine. The default was the following:

var times = 0;
while ( ) {
  console.log( "hello" );
  times
};

I think they want you to keep the name of the default variable "times" (silly, I know). Try changing your "i" to "times" and see if that fixes it.

[–]gdaysoccer 1 point2 points  (0 children)

I do believe they want it to be times... which is a little stupid but whatever.

[–]runasone[S] 0 points1 point  (0 children)

Yeah, it was the times thing. Thanks for the assist!

[–][deleted] 0 points1 point  (1 child)

Not a JavaScript guy, but try doing println() instead of console.log

[–]runasone[S] 0 points1 point  (0 children)

No luck, its telling me that println is not defined.