finish the front part of the webpage