School-themed comedies have been a consistently popular movie genre since the days of the silent era with films such as Harold Lloyd's The Freshman and Buster Keaton's College. In particular, high school comedies always seem to have connected with audiences. The recent release of Mean Girls, a musical comedy remake of the 2004 film Mean Girls, has proven the genre remains in demand, as indicated by the movie's number one position at the box office in its opening weekend.
Source:https://www.cbr.com/american-high-school-comedy-films-ranked/