Computer Science using JavaScript code form:
Design a cake for your birthday!
Draw a cake on the screen. Ask the user how old they are and then draw that many candles on the cake.
(I am 18 years old so there would be 18 candles below is the image I need to make) (Help ASAP!!!!)
Hints:
Use Constance to control the size of your cake so that if one value changes, the cake is still proportional.
Make sure your candles are added to the cake from the center rather than adding them from left or right.
There are many different ways to decorate your cake, but using loops will make adding lots of decoration much easier!
