Please enable JavaScript to use CodeHS

Mobile Apps

Lesson 3.1 TouchableHighlight and the onPress Function

Description

In this lesson, students will learn how to make components of their apps react to being pressed.


Objective

Students will be able to:

  • create an alert when a particular component is pressed
  • make any component behave like a button