Codecademy's homepage is mainly crafted for learners infact absolute beginners. There are no detailed features or course snapshots. With a quiz and track selection they try to handhold beginners.
Udemy's Homepage is oriented towards popularity. There are several header images with a search bar to immediately engage. The body starts showing current popular courses like Youtube.