write html for next 3 sections and footer