You are rewarded with XP for pretty much everything you do on this website. Most are gathered by completed achievements. Visit the Achievements page located under the My Rewards menu to get more insight on XP gains.