[Solved] Lab 6: Implementing JavaScript

$25

File Name: Lab_6:_Implementing_JavaScript.zip
File Size: 282.6 KB

SKU: [Solved] Lab 6: Implementing JavaScript Category: Tag:
5/5 - (1 vote)

Elegance Entertainment has a website that promotes their annual New Years Eve party. This site is required to display the current date and the number of days until New Years Eve. The nyeProblem.htm file is missing JavaScript. Download the iLab 6 folder with this file in it. You must add this code so that the following will be displayed on Elegances web page:

Download the Week 6 iLab zip file. Make sure you save it to your computer. Once you have downloaded the zipped folder, unzip it.

Rubric

Deliverable Points
Website Adding external Files 5
Website Adding images 5
Website Declaring JavaScript variables 10
Website Calculate the number of days to New Years Eve 7
Website Output New Years Eve information 7
Lab Report All sections complete 6
Total 40

Lab Steps

Part A: Add Images and External File References

  1. Open and rename the file.
    • Open the nyeProblem.htm document.
    • Save this document as nye.html.
  2. Add references to external files.
    • Add link to styles.css.
    • Add link to library.js.
  1. Add images to the page.
    • Add the New Years Eve gif image.
    • Add Elegances E jpeg logo image.
  1. Save the file to your local computer.

Part B: Implement JavaScript

  1. Declare variables.
    • Create the Date object named Today.
    • Create the variable ThisDay and assign it the current day.
    • Create the variable ThisMonth and assign it the current month.
    • Create the variable this year and assign it the current year.
    • Create the variable DaysLeft. Use the NYEDays function to obtain this value. Send the Today Date object as the argument.
    • Create the array MonthTxt with 13 locations. The first location( 0) should have the a blank value. The remaining locations should have the name of the months (January, February, December).
  1. Output and Decisions
    • Display the current date.
  • Using an if/else statement, determine and display the number of days until New Years Eve.
  1. Save the file to your local computer.

Part C: Complete the Lab Report

  1. Download the CIS363 Lab Report document from Doc Sharing.
  2. The lab report must be completed for all labs. The key parts of the report include the items listed below.
    • Objectives: A one-paragraph explanation of the purpose of the lab.
    • Results: Include a screenshot of the working website/page.
    • Conclusions: A one-paragraph explanation of what you learned while completing the lab, any challenges you had to work through, and how you can use what you learned going forward.

Submit Deliverables

  1. Copy files from the Citrix server (if necessary).
  1. Zip all of the files from Parts A, B, and C into a single zip file.
  1. Submit your zip file to the Dropbox.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Lab 6: Implementing JavaScript
$25