code the design of home page