Changing Styles: The updateData() function changes the background and text color of a paragraph.
Updating Text: The createContent() function replaces the text inside a.
Switching Images: The bulbOn() and bulbOff() functions change the image to turn a bulb on or off.
Handling Clicks: Clicking buttons runs the right JavaScript function.