Easy there, pal!
To access the Flexbox, part 2 challenges in the Creating a layout, you need to sign up first.
Now you know enough to pass the final exam.
For this test, you will again need to create a flexible layout. However, this time your assignment is a little bit more complicated. Now there are more blocks, and you need to place them on more than just a single line. They also have various sizes.
You will need to select the basic sizes, margins, some factors, and a couple of other flexbox properties.
Hint: as always, margins and basic sizes (before free space is redistributed) are multiples of 5.
To select one of the blocks with the same class, you can use :nth-child(). For example, .brick:nth-child(3) selects the third child of its parent if it has the brick class. Count all sibling elements from 1, regardless of their color; wrapping onto a new flex line does not restart the count.
We hope to see you again in the following chapters. To be continued!
You’ve gone to a different page
Click inside the mini-browser to shift the focus onto this window.
To access the Flexbox, part 2 challenges in the Creating a layout, you need to sign up first.
Have you forgotten your password or lost access to your profile? Enter your email connected to your profile and we will send you a link to restore access.
Forgot to connect your email to the profile? Email us and we’ll help.