Der, die or das?
masculine noun · main train station · level A1
die Hauptbahnhöfe - in the plural, every German noun takes the article die.
"Hauptbahnhof" doesn't follow any of the 35 gender rules - it belongs to the words you learn together with their article, as one unit: der Hauptbahnhof. That's exactly what the app's spaced repetition is for.