HackerEarth
HackerEarth

Frontend Engineer

CSS Flexbox Wrapping

Medium
ROUND 1codingCandidate Not Selected

Given a parent container with `display: flex`, how would you make the children wrap to the next line, while ensuring each child takes 1/3 of the available width and all children have equal widths?

This question was asked in

HackerEarth Frontend Engineer Interview Experience

The HackerEarth interview process involved a single round and covered a broad range of topics related to CSS, JavaScript, and React. Candidates can expect questions focused on event handling, CSS layout properties, and the workings of React hooks and components. Overall, the interview presented a moderate difficulty level, challenging candidates to demonstrate both their technical knowledge and practical coding skills.

AI Powered

Share Your Story

Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.

Mock Interviews & 1:1 Guidance

Practice mock interviews or book a 1:1 call for career guidance, resume reviews, and more.

AI Interview Prep

AI interview prep powered by real interview data.

Show Your Love!

Connect with us on social media