{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Assgt 04 Regular

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

Info icon This 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.
Image of page 1

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

View Full Document Right 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
Image of page 2
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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern