Write a function that responds to a click anywhere on the page by displaying with alert() the event name if the user held Shift during the mouse click, or the name of the element that triggered the event if the user held Ctrl during the mouse click.

What will be an ideal response?


```

1

2

3

4

5

6

7 Solution: 21.4

8

9

21

22

23

24

25

Sample text



26


27

28

```



Computer Science & Information Technology

You might also like to view...

The process of joining two strings string is called __________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

How do you know that the Link to Previous feature in the Header & Footer Tools tab is active?

A) It is not grayed out like many of the other buttons on the Header & Footer Tools tab B) It displays with a dark gray background C) It displays with an orange color D) It shows with a dark black border

Computer Science & Information Technology

Which of the following is an example of antispyware?

a. Spyware Blaster b. Spector Pro c. Eblaster d. FakeGINA

Computer Science & Information Technology

Which type of page layout can adapt to different screen resolutions?

A. vertical B. centered C. portrait D. flexible

Computer Science & Information Technology