In HTML, every element is a view. Nesting is achieved by writing one element inside another.

When creating a nested layout (like a row of icons), you usually don't want that row to take up the whole screen.

CodeHS Exercise is a crucial checkpoint. It challenges you to go beyond simple linear layouts and create structured, multi-layered interfaces. This article will break down the concepts, provide the logic behind the solution, and explain how nesting affects your styles. What are Nested Views?

<View style=styles.rowContainer> <View style=styles.leftBox /> <View style=styles.rightBox /> </View>

// Child 3: Follow Button Background var followButton = new Rectangle(80, 30); followButton.setPosition(60, 150); followButton.setColor("green");

The simple nested view layout you build in 2.3.9 is the exact same technique used to build every major app on your phone. Consider these examples:

The autograder checks the parent-child relationship. Avatar must belong to profileCard , not main .