main.add(avatar); // Avatar is now independent, not nested main.add(profileCard);
to create a layout where one colored box is positioned inside another. This teaches how child components inherit relative positioning from their parent containers. Solution Code Template
Exercise 2.3.9 forces you to practice this relative positioning.
: Children are aligned based on the styles (like justifyContent and alignItems ) set in their parent component [ 0.5.2 ]. 🛠️ How to Code Nested Views
2.3.9 Nested Views Codehs _best_ -
main.add(avatar); // Avatar is now independent, not nested main.add(profileCard);
to create a layout where one colored box is positioned inside another. This teaches how child components inherit relative positioning from their parent containers. Solution Code Template 2.3.9 nested views codehs
Exercise 2.3.9 forces you to practice this relative positioning. // Avatar is now independent
: Children are aligned based on the styles (like justifyContent and alignItems ) set in their parent component [ 0.5.2 ]. 🛠️ How to Code Nested Views not nested main.add(profileCard)