$79
All student must turn work at the SPECIFIED TIME so you can receive credit for Homework!
Assignment 2 must be submitted on ICollege! by the due date and time. Late homework will be subject to a penalty, as stated in the course grading policy. No email or hard copies of homework will be accepted.
You may discuss the assignments with other students in the class, but (as stated in the academic honesty policy) your written answers must be your own, and you must list the names of other students you discussed the assignment with.
How to Submit
Log into ICollege! Select the class to view its drop box folders, select the correct folder for the given assignment and upload the file there.
(Please copy link into a text file submission must be in txt format)
You will get a confirmation email. Please save the conformation email in the event something goes wrong, for example work was submitted to the wrong folder etc..
What to Submit
1. All the source files including JavaScript, html, CSS and all the pictures.
2. A screen shot of your homepage, and calculator page.
3. Your server website link in the comment of your home page.
Student Learning Objectives
• Demonstrate the ability to author valid externally linked cascading style sheets (CSS)
• Demonstrate the ability to create accessible and semantically correct XHTML code
• All style rules should be placed in CSS, not in XHTML
• Demonstrate the ability to create accessible and semantically correct Javascript code
Introduction
This assignment mainly tests your JavaScript skill. You will create two HTML web pages, a CSS file and a JavaScript file.
Part A)
Create a web page that uses JavaScript to print the time of the visit to the page. Instead of using the default conversion of a Date object to a string, use the getHours getMinutes methods of the Date class to produce something like this:
The time is 19 minutes after 25 hours.
This should appear as content in the page, not a pop-up box.
This is your home page, this page should contain your personal information such as your name, your email address as well as one of the pictures you choose (Do not use your own pictures). As usual, create a link on this page direct to another ``Calculator'' page.
Part B)
Create a web page that uses JavaScript to build a calculator. The calculator should contain all the numbers from 0-9, and functions of add, minus, multiply, module and divide. Also include a clear button to clear the result. For the style of the calculator, please refer to one of the following visual styles. You do not have to match exactly the color, but the visual look should look similar to one of these.
Grading Criteria:
Note: Program assignments are individual assignments and should represent your own work. You should not use pair programming on the program assignments. If you received help with this assignment, acknowledge this help (who helped and the nature of the help) in your file's header comment.
Format your HTML, CSS and JavaScript nicely so that it is as readable as possible. Place a comment header in each file containing your account, file, and honor code. Include metadata on both HTML pages.