This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Hector Martinez
over 8 years

1/15 Troubles From of the Begining

I got the folowing warning/Error:

“Uncaught ReferenceError: drawName is not defined”

“¡Uy! Probá otra vez. Make sure you have defined all the variables!”

and I cant see the preview.

there is my code:

1 var myName = “Athlas”; 2 3 4 5 drawName(myName, letterColors);

Answer 55a69850d3292f4dbb000675

0 votes

Permalink

Ok, I’m not sure why it would say that drawName isn’t defined… But try defining letterColors. If you can’t see the preview, it’s ok, you can make up your own colors. For example, yellow it’s made up by using [60, 100, 60]. So you could do this:

var myName = “Athlas”; var yellow = [60, 100, 60]; drawName(myName, yellow)

p.s: You can name yellow as letterColors if you want, I’m just giving an example :) Hope it works!

points
Submitted by Karen
over 8 years