Complete all 24 levels of the Flexbox learning game:
The goal is to practice and understand how CSS Flexbox layout works by solving interactive positioning problems.
This homework demonstrates understanding of Flexbox properties through solving all puzzles in the Flexbox Froggy game.
Each level required positioning frogs on lily pads using different Flexbox properties.
For every level the repository contains:
- Before screenshot – initial puzzle state
- CSS solution
- After screenshot – final solved state
/project
├─ README.md
├─ CSS
│ ├─ level1.css
│ ├─ level2.css
│ └─ ...
└─ Images
├─ task
│ ├─ level1.png
│ ├─ level2.png
│ └─ ...
└─ solution
├─ level1.png
├─ level2.png
└─ ...
The main goal of this assignment is to practice core Flexbox concepts, including:
display: flexjustify-contentalign-itemsflex-directionorderalign-selfflex-wrapflex-flowalign-content
These properties are essential for building modern responsive layouts.
justify-content
Controls alignment along the main axis.
Examples:
flex-startflex-endcenterspace-betweenspace-around
align-items
Controls alignment along the cross axis.
Examples:
flex-startflex-endcenter
flex-direction
Changes layout direction:
rowrow-reversecolumncolumn-reverse
order align-self
Used to control specific flex items.
flex-wrap flex-flow align-content
Used when items wrap onto multiple lines.
- Open the Flexbox Froggy website.
- Solve the puzzle using CSS Flexbox properties.
- Compare with the solutions in this repository.
- Review screenshots for before and after results.
Status: ✅ Completed
All 24 levels successfully solved using Flexbox.
MIT License
By completing all 24 levels of Flexbox Froggy, I gained practical experience with the most important CSS Flexbox layout concepts.
This exercise helped reinforce how different Flexbox properties interact and how they can be used to solve real layout problems.
Key takeaways:
- Understanding the main axis vs cross axis
- Controlling alignment with justify-content and align-items
- Managing layout direction with flex-direction
- Positioning individual elements using order and align-self
- Building multi-row layouts with flex-wrap and align-content
This homework provided a strong foundation for creating modern, responsive web layouts using Flexbox.
Made with ❤️ while learning CSS Flexbox by Sam Malikin















































