//MAKE: 2.10 Skill-builder: Roll some dice


Saving your work

Use Save as... to save the empty template as "2.10S-RollSomeDice-LastName.html" in your Computer Programming 12 directory.

The assignment

Create a program that displays a random die roll when you mouse over something.

  1. Create a page with instructions on what element to roll over
  2. Add an id and a onmouseover event to that element
  3. Create a function that will randomly roll a six sided die
  4. Translate the results of that die into unicode
  5. Output the unicode symbol using innerHTML

For example

Mouse over the question mark to roll a die...  ?