Roweb Development interview question

How can we center elements using flex-box