Conclusion: Part 1


#1

var myColor="Blue"
console.log(myColor)
myColor(0,7)

I don't know what I'm missing, or if I did something wrong.
Please help me, thanks!


#2

A semi colon. :smiley:

After the console.log, I mean. Also, are you trying to find the length of myColor or something here?

For this doesn't really make sense........


#3

I'm trying to find the length of myColor.


#4

Oh. Then, do you remember the function ".length"? You're supposed to use that instead of myColor(0,7), which is used in a substring when you are taking out some parts of the word.

myColor.length in a console.log would do a perfect job. :smiley:


#5

Oh okay, thanks! :smiley: