Pergunta de entrevista da empresa Anchor Point

Html css JavaScript question in jsfiddle platform