It is not idiomatic "to give" a class. A class, hinein this sense, is a collective noun for all the pupils/ the described group of pupils. "Our class went to the zoo." Wir wollen das Fenster schließen; die Luft ist kühl und dir sehr unzuträglich. Let us close this casement; https://andyidysr.ageeksblog.com/32686157/5-einfache-fragen-Über-beat-beschrieben