To implement the styling of the buttons, you could store objects that contain both the tab panel and its button. Most programmers prefer to avoid it. But even when you have an old-fashioned keyboard, some types of text input don’t match key presses in a straightforward way, such as input method editor (IME) software used by people whose scripts don’t fit on a keyboard, where multiple key strokes are combined to create characters. In this exercise you must implement a simple tabbed interface. The DOM node where a key event originates depends on the element that has focus when the key is pressed. This may be too soon, for example when the script needs to do something with parts of the document that appear after the