I am stuck on # 9 - Function on Hour of Code


Please help! Don't understand why it's not working. I don't know what variable I have to put to make my name turn blue. It turns blue but it won't let me go to the next lesson! :(sweat:


Hey can you show the code first? That would be helpful, thanks. :smiley:

Oh yeah, write your code surrounded with backticks, which are above your tab key like this, so we would be able to see it:

<!DOCTYPE html>


k thank so much. I hope it will help me!! :smiley:


Uhh.... but you need to at least show your code first so we can see what the problem is. :sweat_smile:


var myName = " Valeria ";
var myName = blue

drawName ("Valeria", blue);



You're supposed to put myName in where you put "Valeria" in the drawName. :smiley:


Thank you a lot and I think we were also supposed to put the color numbers like: var blue = [196, 77, 55];


No, that's the next level. :smile:

Also remember that blue has to be equal to the variable blue, and the variable myName should be "Valeria", not "blue".