Please enable JavaScript to use CodeHS

Mobile Apps (Semester)

Events and State

Students learn how to use state values and how to update the state of their app in various ways to create quick, dynamic programs.

Lessons

6.1 Using State to Control Values

  • Using State to Control Values
  • Using State to Control Values
  • Initial State
  • Setting the Location with State
  • Multiple State Values

6.2 Updating State with onPress

  • Updating State with onPress
  • Updating State with onPress
  • Updating State with onPress
  • State Updates Based on Button Press
  • Name to Nickname
  • +1 more

6.3 Using Mathematical Equations to Update State

  • Using Mathematical Equations to Update State
  • Using Mathematical Equations to Update State
  • Updating the Count
  • Full Counter App
  • Easy Calculator

6.4 Using Methods to Update String States

  • Using Methods to Update String States
  • Using Methods to Update String States
  • Upper and Lower
  • Updating the Mood of a String with State
  • Spellchecker

6.5 Challenge: Scorekeeper Pt 4

  • Scorekeeper Pt 4: Functionality with States
  • Mindset Survey 2

6.6 Events and State Quiz

  • Events and State Quiz

Courses that include this module