Chegg interview question

Web development question