implementing card layout in web development (1)