3. Events

Write JavaScript code to handle events in the browser. Specific considerations for touch events on mobile devices.