Answered You can hire a professional tutor to get the answer.

QUESTION

My due date is rapidly approaching.

I need help in Javascript programming. My due date is rapidly approaching. I am a full time employee and student and find very little time to get all of my classes deadlines met; thus, this particular course is beginning to snowball on me. If you can help me through a few problems so that I meet this deadline, I will purchase a subscription to your website.Here is one of my problems now:<-------- START -----------><html xmlns = "http://www.w3.org/1999/xhtml"><head><title>Excercise 8.11</title><script type = "text/javascript">for (var day = 1; day <=5; day++) {switch (day) {case 1: document.write("On the "+day+"st of Christmas, my true love gave to me, A partridge in a pear tree.");case 2: doucment.write("On the "+day+"th day of Christmas, my true love gave to me, Two turtle doves,<br>");case 3: document.write("On the "+day+"th day of Christmas, my true love gave to me, Three French hens,<br>");case 4: document.write("On the "+day+"th day of Christmas, my true love gave to me, Four calling birds,<br>");case 5: document.write("On the "+day+"th day of Christmas, my true love gave to me, Five golden rings,<br>");break;}}</script></head><body></body></html><---------- END ----------->My objective is to get the program to display all 5 days using a switch. Where am I going wrong?

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question