Assessment wanted for flexbox skills

Hello, I think I completed the tasks but would like to be sure I did it correctly.
Tasks: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox_skills

My answers/code:
Task 1: https://codepen.io/windu80/pen/GRxLdqN
Task 2: https://codepen.io/windu80/pen/poLBXBd
Task 3: https://codepen.io/windu80/pen/vYRMqoE
Task 4: https://codepen.io/windu80/pen/GRxLVKZ

Thanks a lot in advance! :smiley:

Hi @moumou80

Your tasks are all correct. Regarding Task 3, there’s no need for

flex-direction: column;

as the div will be centered regardless of the flex-direction being row or column. Leaving it in default (row) is fine.

2 Likes