Lesson 10: Data Types I & II: Numbers & Strings


#1

I am not sure what to do or what the directions are asking me to do.

This is what I have so far…

if("Jon".length * 2 / (2+1) === 3){}

I keep getting this error no matter what I change.


#2

Hi ,

In this exercise , you must write a string three words , for example :

"My name is John"

And next you put .length

Result :

"My name is John".length

Sorry for my poor english :c


#3

This is a problem you encounter when you copy and paste other peoples code especially when they're doing a completely different exercise to the one you're doing...

as chaoki said write a string atleast 3 words long

"My name is Ian" then apply .length to it.

should give a result of 14