Step 13: keeps saying expected ';'


#1

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

var myName = "jackie";
letterColors=[red, orange, green,blue,purple];
if(10<3) 
 bubbleShape = "circle";

else; 
{bubbleShape = "square";}

All together, the **if/else statement** looks like this:
drawName(myName, letterColors);
bounceName()

right hand corner keeps saying expected ';'


#2

This is the expected format of an if/else statement:

if (this is true) {
    do this thing;
} else {
    do this other thing;
}

Note the placement of all of the ( ), { } and ;.

Can you work it out now?


#3

@objectsolver13325,
Try it with

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

var myName = "jackie";
letterColors=[red, orange, green, blue, purple, red];
if(10<3) {     //change 10<3 to 10>3 to get circles
    bubbleShape = "circle";
}
else {
bubbleShape = "square";
}

//All together, the if/else statement looks like this:
drawName(myName, letterColors);
bounceName()