Objectives
- To practice CSS.
- Practice JavaScript conditionals, and iteration statements.
Overview
For this project you will write HTML,CSS, and JavaScript that
supports a web site providing different kinds of calculators. Two
main calculators are supported: a grades calculator and an interest
calculator. A video and snapshot of the web site you are expected to implement
can be found in the
Web Site Snapshot/Video section.
Grading
- (50 pts) Web Page Structure/Style
- (25 pts) HTML
- (3 pts) Header Section
- (3 pts) Links Section
- (3 pts) Contents
- (3 pts) List of Calculators
- (3 pts) Footer
- (3 pts) Validation
- (7 pts) Other
- (25 pts) CSS
- (3 pts) Header Section
- (3 pts) Links Section
- (3 pts) Contents
- (3 pts) List of Calculators
- (3 pts) Footer
- (3 pts) Validation
- (7 pts) Other
- (50 pts) JavaScript Code
- (16 pts) Grades Calculator
- (34 pts) Interest Calculator
Notice that you don't have to submit a complete web site in order
to receive credit for this project. We will look at each one of the
above items individually.
Specifications
Before you start implementing the web page, download the following
zip file: p2.zip. This file has a folder named p2
which contains files you will need for the project. The files you need
to complete for this project are:
- index.html → represents the web site's main page.
- mainstylesheet.css → represents the css file used
by all the html files in the site.
- grades.html → represents the JavaScript program computing letter grades.
- interest.html → represents the JavaScript program computing interests.
JavaScript Programs
Requirements
- You must use good indentation.
- Your html files must be implemented using XHTML 1.0 (Strict) and must validate according to the
http://validator.w3.org/#validate-by-upload
validator.
- Your css must validate according to the
http://jigsaw.w3.org/css-validator/ validator.
- You may not use any authoring tool (e.g., frontpage, dreamweaver, etc.)
which generates the HTML code for you.
- You must implement this project by yourself.
- To the head section of each html file add <meta> tags that identify the
author, copyright, keywords, description. Feel free to use any values for each
of them (for an example, see the html source for this document).
- Do not post your project in a web site (people will see your code).
- Make sure you view your code using Firefox(that is the environment
we will use to grade your project).
- You cannot use in your html files.
- Your css file must define and use at least one id selector.
- Your css file must define and use at least one class selector.
- You do not need to provide any pseudocode.
- You must use good variable names and good indentation in your JavaScript code
Web Site Snapshot/Video
A video showing the functionality of your system can be found at Video.
A snapshot of the web site's main page is provided below.