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

Animate Your Name Forum

View Course

158 points
55f18f2551b88703b5000435_29833303
Submitted by
Will Langdon
about 2 years ago

Made Interactive Name and I'm trying to add it into an HTML with no success

EDIT the code for the html is in the doc but for whatever reason it's not showing in the post. :(
EDIT 2 the html code is just the stuff from the interactive name in the html part.
relative code in the html doc named chad.html

relative code in the js file named chad.js

var myName = "Chad";

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 letterColors = [red, orange, green, blue, purple];

drawName(myName, letterColors);

if(10 < 3)
{
bubbleShape = 'square';
}
else
{
bubbleShape = 'circle';
}

bounceBubbles();

any help would be appreciated. I really don't know where I'm going wrong.