The idiomatic expression "to earn extra points" means to do something that will gain you recognition, appreciation or rewards beyond what is expected or required. It implies going above and beyond what is necessary in order to achieve a goal or receive praise. The phrase can be used in various contexts such as academics, workplace, sports, etc., where individuals strive for excellence by doing more than what they are supposed to do.