# Flashlight app
Design an app that allows you to turn the flashlight on/off with the press of a switch.
- Download the basic files and study the code.
- Find a suitable plugin to control the flashlight and integrate it into the application.
- Add two event listeners.
- The app goes to the background:
Turn off the flashlight. - The app returns to the foreground:
Turn the flashlight back on, if necessary.
- The app goes to the background:
- Make sure the app only works in fullscreen and in portrait mode.
- Create a unique icon for the app.
CAUTION
Because Chrome cannot simulate a flashlight, you can only test this application on a smartphone or tablet.