CIS 363A Week 6 javascript

nathwngoow5g

use dreamweaver please

 

I will provide the zip file of the project to whover accepts the assignment.

 

 

 

StepDeliverable/ComponentsPoints
Step 1- Add Javascript source library.js.5
Step 2- Add Javascript variables and array and assign values.15
Step 3

- Add the correct decision and output statements.

20
Total 40

 

STEP 1: Add library.js

Add the script code that will import the javascript file library.js.

STEP 2: Variables And Values

Declare the following variables and assign the following values:

Today = today's date

ThisDay = the current day

ThisMonth = the current month

ThisYear = the current year

DaysLeft = Return value for NYEDays function in libary.js. Sends Today as argument.

MonthTxt array with first location = "" and remaining locations storing months "January", "February", and so forth. 

STEP 3: Decision And Output

Display today's date. Add a decision statement that displays the number of days left to New Year's Eve or a message that says, "IT'S NEW YEARS EVE!"

  • 10 years ago
  • 30
Answer(0)
Bids(0)