Challenge: User Interface and User Interaction

Complete this hands-on exercise to test your knowledge of the interactivity components of React Native.

This challenge will test your knowledge of the user interface and user interaction components of React Native. You’ll use these concepts to create a minimalistic user interface.


Build a React Native application that shows:

  • A switch component at the top, as shown in the illustrations below.

  • A touchable with the text: “Click to increment. Long press to reset.”

Expected output

The illustrations below show what the final output should look like after completing the challenge.

Get hands-on with 1200+ tech skills courses.