Playables
Flexbox Froggy
Puzzle
Write CSS flexbox rules to guide frogs onto their matching lily pads across 24 levels.
Each level shows a pond with frogs and lily pads beside a short stylesheet that has a gap in it. You fill the gap with flexbox properties, and the frogs move as you type. A level is solved when every frog sits on the lily pad of its own color.
The levels introduce one property at a time: justify-content, align-items, flex-direction, order, align-self, flex-wrap, flex-flow and align-content. Later levels need two or three of them together. The check looks at where the frogs end up, not at the exact text you typed, so any rule that puts them in the right place is accepted. Your progress is saved in the browser.
How to play
Type CSS in the editor, then press Enter or click Next.
Tips
- Click a property name in the instructions to see the values it accepts.
- When the direction is a column, justify-content works vertically and align-items works horizontally.
- The settings menu can hide the instructions, and its hardest option also serves the levels in random order.
Credits
By Thomas Park · Original credits · Source: github.com
More Puzzle Playables
- LittleJS Puzzle: Swap neighboring tiles to line up three or more matching shapes and set off chain reactions for a high score.
- Grid Garden: Write CSS grid rules to water the carrots and spray the weeds in your garden.
- CSS Diner: Type CSS selectors to pick the right plates, apples and pickles off the table, learning selector syntax level by level.
- Cats n Wires: Reconnect loose wires to rescue cats scattered through a strange world.
- Elevator Saga: Write JavaScript to control a bank of elevators and move enough passengers to beat each challenge.
- Lost in Firefly Forest: Collect riddles and track patterns in a dark forest that seems to loop back on itself.
- VIM Master: Learn Vim motions and editing commands through short interactive lessons and challenges.
- Midwinter Springtime: Compress and release springs to move blocks around a single snowy board. Each push changes where the next spring can send you.