Please enable JavaScript to use CodeHS

Mobile Apps

Lesson 4.5 Using 'Dimensions' to Control Size

Description

In this lesson, students will learn how to create responsive layouts using the Dimensions API.


Objective

Students will be able to:

  • size components relative to each other and the screen size using the Dimensions API
  • note the reasons we would use Dimensions over flex values to create responsive designs