Skip to content
All Challenges
#13

Flex Justify Content: Center

Easy
Category: Flexbox

Horizontally center flex items along the main axis using justify-content.

Target HTML in preview:
<div class="navbar"><button>Home</button><button>About</button></div>
Verification Criteria:
Set justify-content: center
styles.css
Live Evaluation
Loading...
|
Live Browser Output
Sandboxed Preview