ITSE 1411 Beginning Web
JS Module 2 Assignment
Assignment
from your instructor (in instructor files from publisher)
  1. Daytona500 page:
    • Create a folder named examples in your public_html folder.
    • Get a copy of Daytona500.html from your instructor (in instructor files from publisher).
    • Right click on the page.
    • View Source
    • Save as Daytona500.html in the examples folder.
    • Study the coding using string and float variables in the Daytona500.html. See how string values are enclosed in quotes and numerics are not. Be sure that you do not put numerics in quotes.
    • Notice that in JavaScript, you write variables without quotes. The value that is assigned to the variable is the value that appears.
  2. CO2 Emissions page
    • Using the image of the table CO2 Emissions from your instructor (in instructor files from publisher) create your own CO2Emissions.htm page.
    • Open your templateHTML5.htm page and save as CO2Emissions.htm.
    • Create a string array with the values
      1. "In "
      2. ", the world generated "
      3. " million metric tons of carbon dioxide emissions from fossil fuel consumption."
    • Create a numeric array with the values shown in the image.
  3. Hours page
    • Open templateHTML5.htm and save as contact.htm.
    • Using the CO2Emissions.htm page as a guide, create an page for your Web Project that creates a table using JavaScript that uses arrays and displays the hours available and any other information that will be helpful for a contact page for your project.
    • Add a link to your contact.htm page on your home.htm and schedule.htm pages. Also link to your home.htm and schedule.htm pages from your contact.htm page.
    • Apply the same CSS to your contact.htm page as you use for your schedule.htm page.
  4. Update index page with links
    • Open your index.htm page in Komodo Edit.
    • Update your index.htm page to link to home.htm, schedule.htm and contact.htm in your Module2 folder.
    • Upload your index.htm page and your Module2 folder. Daytona500.html or CO2Emissions.htm pages are not graded. If you have trouble, upload and ask your instructor to view your pages.
    • Be sure to test for validation.
    • Email that your assignment is ready for grading.