University of Washington, CSE 190 M
Section 6: Raptor Attack
JavaScript DOM

section idea/code by Stefanie Hatcher

This section is about using JavaScript's Document Object Model (DOM). The following links may be helpful:

(Click the image below to run the sample solution for today's section.) (solution JS code attack.js)

expected output

A raptor is on the loose. Rawr! He wants to stomp the townspeople. Write JavaScript code to allow the raptor to eat them. The HTML and CSS are already completely written; start from this skeleton of attack.html.

Here are the behaviors to add:

Valid XHTML 1.1 Valid CSS!