Assgt 04 Regular

Assgt 04 Regular - with random colors. Figure 3. Randomly...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
See specific deductions and requirements at end of document. Assignment 04 Regular section – Javascript and Dynamic HTML Due: Noon Saturday February 23 rd 40 points (5 points of total are for quality and creativity). This problem requires an understanding of: 1. Basic Javascript, including strings and loops 2. The use of Javascript DOM (Document Object Model) methods and properties like 3. the getElementById method, the innerHTML property, and the id attribute for accessing elements. 4. How to generate random integers in a particular range. 5. How to numerically represent HTML colors. 6. How to manufacture valid HTML code programmatically. 7. Style attributes. 8. How to design, incrementally implement, debug and test code.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Figure 1. Interface to request colored multiplication table. Figure 2. Popup that button triggers -- displays dynamically generated HTML code including styles for an M x N multiplication table
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: with random colors. Figure 3. Randomly colored multiplications. Detailed Points off for Problem 1- Two input fields-1 2- Button (not submit) that triggers Javascript function-1 3-Popup that displays the generated HTML table code.-2 4- Times Table with expressions in tables-2 5- Colored text for the expressions in cells with random colors-4 6- Correct random number generator with correct range-3 7- Correct handling of id attributes-2 8- Correct definition of array of colors-3 9- Correct acquisition of input text values by function-2 10- Default color for body text-2 11- Clean construction of HTML string in Javascript function-2 12- Validated page - proper DOCTYPE strict & meta charset tags -5 13- Correct definition of FORM elements-2 14- Some appropriate comments in HTML code-2...
View Full Document

This note was uploaded on 12/09/2009 for the course CS 431,430,48 taught by Professor Scher,statica during the Spring '09 term at NJIT.

Page1 / 3

Assgt 04 Regular - with random colors. Figure 3. Randomly...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online