constructed main sections in the HTML