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

Animate Your Name Forum

View Course » View Exercise

57 points
A7dc380017783d8594f8f82fe75302c0?s=140&d=retro
Submitted by
wes1000
over 3 years ago

5/15 Multiply two numbers. Why won't this work?

Can't get this code to work

document.write(1 + 1);

Why won't it work?


1 vote

permalink

You dont put the x for multiplying. Instead you put a *.

571 points
54bbc4a99113cb9116003ab6_938228051
Submitted by
Kewlgirl88
over 2 years ago


0 votes

permalink

Hi Wes, instead of adding, this exercise it is expecting you to multiply two numbers.

3691 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago

4 Comments

7b1425ecbdecc1c723b2882b356029ff?s=140&d=retro meikhavis over 3 years ago

Ok, I am multiplying and still nothing

55df2afa95e3787b9200005e_359368177 Judy over 3 years ago

Hi meikhavis, please copy/paste the code you have written.

F35fba0e4850653ab8f155ea8a0725cd?s=140&d=retro Edgar Rosa over 3 years ago

It says to multiply big number so do something like document.write( 454*343 ); It works for me

54bbc4a99113cb9116003ab6_938228051 Kewlgirl88 over 2 years ago

I think your using an x for the multiplication. Instead, try using *