
The browser window titled Lab 10 has an address bar that reads, 127 dot 0 dot 0 dot 1 colon 5501 forward slash c h 10 hyphen proj10 dot h t m l. The browser window is divided into two vertical sections. The first section has a level-1 heading that reads, "Color Schemes". Seven rectangular boxes showing different color schemes are placed one below the other along with a button labeled View at the right side of each box. The first rectangular box has a label that reads, "Madonna Enthroned". The second rectangular box has a label that reads, "Saint Margaret and the Dragon". The third rectangular box has a label that reads, "Alba Madonna". The fourth rectangular box has a label that reads, "The Anatomy Lesson of Doctor Nicolaes Tulp". The fifth rectangular box has a label that reads, "The Milkmaid". The sixth rectangular box has a label that reads, "Women in the Garden". The seventh rectangular box has a label that reads, "The Death of the Pharaoh\'s Firstborn Son". A label below the seventh rectangular box reads, "By the Seashore" indicating the presence of one or more rectangular boxes below that show color schemes. The color schemes are fetched from “A” P I. The View buttons indicate that event delegation is used so only a single event handler function is needed.
A link cursor is shown over the View button at the right side of the third rectangular box that indicates a click on the button.
The second section has a level-2 heading that reads, "Alba Madonna." A list of five color schemes with its properties are shown below the heading. The color schemes in a box and their properties are listed as follows.
Color scheme 1 shows a shade of blue. Color properties: "hash 9 3 C 4 D F", "r g b open parenthesis 147, 196, 223 close parenthesis", "Cornflower."
Color scheme 2 shows a shade of brown. Color properties: "hash 645335", “r g b open parenthesis 100, 83, 53 close parenthesis", “Horses Neck.”
Color scheme 3 shows a shade of black. Color properties: "hash 2 D 3635", “r g b open parenthesis 45, 54, 53 close parenthesis”, “Aztec.”
Color scheme 4 shows a shade of pink. Color properties: "hash c 57473", "r g b open parenthesis 197, 116, 115 close parenthesis", “Contessa.”
Color scheme 5 shows a shade of green. Color properties: "hash 5 B 7 F 7 6", "r g b open parenthesis 91, 127, 118 close parenthesis", "Cutty Sark."
Note: After you find the clicked color scheme object, it is displayed in the second section.
Back