the code used to generate my homepage