//MAKE: 2.08 Skill-builder: Keyboard reader


Saving your work

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

The assignment

Write a program that will:

  1. Trigger a function when a key is pressed
  2. Display the code of the key that was pressed
  3. Display the Unicode character of the key that was pressed
  4. Use an if...else statement to trigger something if a certain key is pressed

For example

Press any key ... as long as it is not tab!

You pressed character #

That is the same as ' '