A Westhoughton secondary school has praised pupils and staff as "brilliant" for their resilience during this week’s cold snap.