Knightly Align

Level 1 of 50

Level 1: Welcome, brave adventurer, to the Realm of CSS!

Easy

A fair princess is trapped in the tallest tower. Only a knight skilled in the art of CSS can break the spell.

justify-content:

The justify-content property aligns items horizontally within a container that uses display: flex. Values:

  • ⚜️start (align left)
  • ⚜️center (align middle)
  • ⚜️end (align right)
  • ⚜️space-between
  • ⚜️space-around
  • ⚜️space-evenly

0

1

2

3

4

5

6

#soldiers {

  display: flex;

}

torch

Psst...Need Solution??

Click the torch

justify-content: end;

Made by amuseDave with 🩶

amuseddavid@gmail.com
princess
princess
knight
knight