Flex Container Inside Javascript Interview Question