2.3.9 Nested Views Codehs ((new)) -
: Inside the root, add new tags for each section of the layout.
: Create backgrounds, borders, or padding for sub-sections without affecting the entire screen. The Core Concept: Hierarchy and Parent-Child Relationships 2.3.9 nested views codehs
: CodeHS autograders are strict about capitalization. Writing flexdirection instead of flexDirection , or alignitems instead of alignItems will cause tests to fail. The Fix : Always use camelCase for JavaScript style objects. Best Practices for CodeHS Submissions : Inside the root, add new tags for
: If your nested view doesn't have a width , height , or backgroundColor , it might be invisible even if it is correctly nested. By nesting, you can control the position and
By nesting, you can control the position and size of child views relative to their parent. For instance, setting a parent to display: flex in CSS makes all children align in a row or column, without affecting elements outside that parent.