This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Animate Your Name Forum

View Course » View Exercise

252 points
Eb985ff7239e095a94a044521b0f96ab?s=140&d=retro
Submitted by
amal.1996
almost 2 years ago

How i can give the height and weight for each letter?

How i can give the height and weight for each letter or for full word! And also i want to add new line under the main and make word more little than the main word.
like this

GRAND 6
for ever

Thank u))


This is my code

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 gray = [71, 71, 71];

var myName = "GRAND"+" "+"6";
letterColors = [red,red,red,red,red,black]
if(5 > 1){
bubbleShape = "circle";

}

else {
bubbleShape = "square";
}
drawName(myName, letterColors);
bounceBubbles();