FOR AROKA
Elegance Entertainment has a website that promotes their annual New Year's Eve party. This site is required to display the current date and the number of days until New Year's Eve. The nyeProblem.htm file is missing Javascript. Download the iLab 6 folder with this file in it. You must add this code such that the following will be displayed on Elegance's Web page:
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!"
| Step | Deliverable/Components | Points |
| 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 |
10 years ago
20
Purchase the answer to view it

- nyedays.zip
- Quiz Geology 100
- homework
- Prepare a 1,400- to 2,100-word paper identifying both organizational and individual causes of resistance to change. Describe how Lewin’s theory of change can be used to overcome resistance to change. Integrate the assigned readings to your discussion and
- This is for solutions pro...
- P515QUIZW5
- Unit 9 Team Work Accounting
- LEG 320 Week 5 Extra Credit Discussion
- Downs and Abwender (2002) evaluated soccer players and swimmers to determine whether
- Using a pair of dice for a simulation device, suppose that an outcome of 11 represent an industrial accident
- The "Mill" produces five different fabrics. Each fabric can be woven