6. "cake" .length bug


#1

Instructions:
The computer will ignore the code on lines 1-2, since it is commented out.
On line 3, find the length of the word "cake".

Code&Result:

What to do?


#3

You need use ";" at the end of


#4

Same thing doesn't work with me


#5

No, No need to put ";".

remove the white space between "cake" and ".length". it should be like "cake".length NOT "cake" .length


#6

that's probably it, still it would be good to add a semicolon at the end.


#7

Please, I didn`t understand


#8

You misspelled length.


#9

dont puta space in between " and the pieriod


#10

you spelt it wrong try and look over it