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

Animate Your Name Forum

View Course » View Exercise

142 points
5483001286f5527f060008c3_54949104
Submitted by
Doruk
over 2 years ago

6/15 I think I'm making a really easy mistake but I couldn't figure it out. Can you help me?

"I'm coding like a champ".length>10
Oops, try again. Check if "I'm coding like a champ".length is greater than 10 characters


6 votes

permalink

Hi there Doruk

I did it like this, a guess really, maybe this will help you out.

document.write( "I'm coding like a champ".length);
document.write("23>10 is true");
document.write("5<4 is false");

41 points
54984fe2937676c56c0075a7_68115925
Submitted by
Lizzie07
over 2 years ago

2 Comments

33a6d2bb3d6427c087b7e151202e82d9?s=140&d=retro smellylaundry over 2 years ago

did it work???

Ee9be484026bc1a01462c9b41093e4b0?s=140&d=retro 12mirizzow almost 2 years ago

no


2 votes

permalink

Hi there Doruk,

You also need to use document.write( ... ) in that line of code. Remember how we did that back in this exercise: http://www.codecademy.com/courses/animate-your-name/1/2?

3691 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 2 years ago


0 votes

permalink

do this document.write(20*56 );

71 points
5500154a9376767456001820_485729603
Submitted by
mixy111_54ec4b2086f55280ad0009c2_del
over 2 years ago


0 votes

permalink

document.write ( "I'm coding like a champ".length > 10 );
Is the answer, you just forgot to put "document.write" as AlbionsRefuge said.

230 points
Picture
Submitted by
Niko Eimutis
about 2 years ago