Question: I need help with this web design assignment: This javascript web page should use JavaScript functions to include the following: the current date the current
I need help with this web design assignment:
This javascript web page should use JavaScript functions to include the following:
the current date
the current time
uses an if construct to print out either: how many days are left until this Assignment is due or how many days have past since this Assignment was due
a table that has 12 rows and 3 columns which is created using a for loop to read through a set of JavaScript arrays that contain the names of the months and the number of days in each month. The table should look similar to this:
| Month Number | Month Name | Days in Month |
|---|---|---|
| 1 | January | 31 |
| 2 | February | 29 |
| 2 | March | 31 |
uses the JavaScript mod operator (%) to highlight every other row of the above table with a different color to make it easier to read.
I was able to get the current date and the timer that counts down, but I never could get them to appear on separate lines and I'm stuck on making a table using a for loop. This is what I have so far:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
