Change the bubble shape is not working, PLEASE HELP!


#1


Replace this line with your code.

:confused:


#2

Please post your code :slight_smile:


#3

var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

var myName = "Paul";

bubbleShape = "square";

drawName(myName, letterColors);


#4

I guess that you have accidently deleted this line:

var letterColors = [orange, green, blue, purple];

This line defines array of colors that is later used by drawName function. Please add it to your code:

var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

var letterColors = [orange, green, blue, purple];
var myName = "Paul";

bubbleShape = "square";

drawName(myName, letterColors);

#5

Thanks so much!!!!:grinning:


#6

You're very welcome :slight_smile:


#7

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.