CIS363A Lab 6 – JavaScript For New Year’s Eve – 2 screenshot attached – Instant Delivery – perfect solution
Print
iLab 6 Of 6: JavaScript For New Year’s Eve (40 points)
Note!
Submit your assignment to the Dropbox, located at the top of this page.
(See the Syllabus section “Due Dates for Assignments & Exams” for due dates.)
iLAB OVERVIEW
Scenario/Summary
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:
Deliverables
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
Required Software
Software Name 1
Access the software at https://lab.devry.edu.
Steps: 1, 2, and 3
Software Name 2
Access the software at https://devrydesktop.rkon.com.
Steps: 4 and 5
iLAB STEPS
STEP 1: Add library.js
Back to Top
Add the script code that will import the javascript file library.js.
STEP 2: Variables And Values
Back to Top
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
Back to Top
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 4: iLab Submission
Back to Top
• Once you have made the changes above, change the name of the folder to CIS363A_YourLastName_W6_Lab.
• Right-click on the folder and select Send To -> Compressed (zipped) Folder. You can also use other tools to compress the files into a single zip folder (e.g., 7-zip).
• Upload the zip file to the Week 6 iLab DropBox, located at the top of this page.
Submit your lab to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-step instructions or watch this TutorialDropbox Tutorial.
See the Syllabus section “Due Dates for Assignments & Exams” for due date information.
Back to Top