homepage code compelte