Seems strange that the interviewer would be so pedantic while showcasing their own lack of understanding... for example:
"How they choose to center content inside the overlay is also revealing. Some of the candidates might choose to use CSS and absolute positioning, which is possible if the content is a fixed width and height. Otherwise may choose to use JavaScript for positioning."
First of all, JavaScript... just... no. Stop.
Secondly, hey, you don't need a fixed width or height, you just use:
"How they choose to center content inside the overlay is also revealing. Some of the candidates might choose to use CSS and absolute positioning, which is possible if the content is a fixed width and height. Otherwise may choose to use JavaScript for positioning."
First of all, JavaScript... just... no. Stop.
Secondly, hey, you don't need a fixed width or height, you just use:
I would really challenge the writer and anyone else interviewing for any position to consider that maybe they don't know everything.