Pergunta de entrevista da empresa Dealer.com by Cox Automotive

Draw some square on the page with html, css and js. Each square should be inside the previous one and its width and height should be the half of the previous's width and height.