Due Thursday May 14, 2008

100 Points Project 4

Instructions:

a. You most likely will have questions. START WORKING ON YOUR PROJECT EARLY !

b. This is an individual project assignment, not a group project!

You cannot use an editor. This project must be your own work. Do not copy any part of this

project from another student’s work.

Do not work on the project with other students. It is permissible to ask another student to clarify

the goal of a project. It is also permissible to ask another student about the form or operation of anHTML statement, as long as the discussion does not refer directly to the project. For example, whileit is permissible to ask another student what the h1 tag does, it is not permissible to ask how touse the h1 tag in a project. Please note that "aid of academic dishonesty" includes allowinganother person to copy your work. See

c. Name file: proj + “firstname_lastname” + html eg. proj1_john_doe.html

d. Acknowledgment: Your html-project-code must begin with these comment lines to receive a

grade for your project. Use an ‘x’ where appropriate:

<!-- ‘your name’

__ completed this project without any help on my own

__ received help from the GTA

__ received help from the instructor

__ discussed project with ‘name’ ______(identify sections in the code)

-->

e. Due Thursday May 14, 2008before11:30 pm

f. Project File Submission: class email.

Enter Project #4in the comment section.

Late submissions or resubmissions of projects are not accepted.

g. Html Tags: You are required to use tags introduced in class only. Using tags not found on the listwill be considered a mistake and will result in a point deduction. A list of tags introduced in classcan be found at

h. Readability: Indenting your code properly for better readability will give you an extra 5 points,

however no more than 100 points in total.

i. Syntax: A “working” web page does not necessarily guarantee full points. Make sure your html orJavaScript code does not contain syntax errors or logic mistakes and complies with the

requirements of the project.

j. Help: If you are having problems with the project, contact the course instructor SeifAzghandi or

the graduate teaching assistant (Hamid Hanifi). When you e-mail a question, the subject line must contain ‘MATC1101-1 Project 4’. Be precise and complete with the description of your problem. You have to useyour official University of Denver e-mail account to receive a response.

Project Description:

This program examines whether or not a word is palindrome.Palindromes are words that spell the same from left to right and right to left. For example the word, “madam”, is a palindrome where as “book” is not. “racecar”, and “atoyota” are also palindrome. You could check internet for more palindrome words.

Instructor: Seif Azghandi

Project 4 Requirements

a. Create a web page like the one below this page.

b. Title the page “Project 4” in the header.

c. Use “Palindrome”in the title area.

d. Create a button called “Tests for palindromes” and center it.

Upon press of this button a prompt pop-up window should appear asking the user to enter a word. After entering the word in the prompt field, and pressing “OK” button, a message should appear.

Assuming the entered word is “madam” then the display should read:

madam is palindrome.

Assuming the entered word is “book” then the display should read:

Book is NOT palindrome.

NOTE: The words entered could be in mix of upper/lower case letters.

The entered word MUST appear in bold in the final message.

You MUST bundle the functionality for checking for palindrome in a function.