Fourth-grader Ella Araza sat on a tiny plastic box in her Manila slum home, trying to finish her homework before the afternoon sun sent temperatures soaring to unbearable levels.
The Philippines shut down more than 47,000 schools nationwide from Monday, as the temperature in Manila crossed a record high, clocking 38.8 degrees Celsius (101.4 degrees Fahrenheit) at the weekend.
Over 7,000 were still closed on Thursday, including 10-year-old Ella's elementary school in the capital.
Many schools in the tropical country have no air conditioning and students must sweat it out in poorly ventilated classrooms but conditions at Baseco, Manila's infamous docklands slum, are even more desperate.
"The heat makes her lazy. Sometimes she fails to do her online homework," Ella's mother Cindella Manabat, 29, told AFP from the slum community that houses 65,000 residents inside half a square kilometre (124 acres).
In their tiny one-room dwelling, Ella squints at her mother's cell phone to decipher the day's lesson, which her teacher posts online.
The apartment, which has no running water, must be kept dark because Ella's younger brother, Prince, suffers from cerebral palsy and could be hit by an epileptic seizure.
Several doors down, sixth-grader Jalian Mangampo and her younger brother Sherwin lie on their shared single bed and try to finish their schoolwork on mobile phones.
More days of extreme heat
The online lessons do not come cheap -- the siblings have to drop five pesos (nine US cents) into a neighbour's WiFi vending machine to gain three hours of internet access.
Their widowed mother, shopkeeper Richel Mangampo, 43, took on a high-interest loan to buy them an 8,500-peso ($148) mobile phone. A stranger earlier gifted the siblings another phone.
"The heat is terrible because the ceiling is so low," the mother said, pointing to the corrugated iron roofing that she has partly covered with a scrap of plywood to keep the heat at bay.
"We have to step outside from time to time just to be able to breathe."
But she does not allow her children to stay out too long because the blazing sun is not the only danger in Baseco.
"Out of nowhere youths armed with broken bottles would be going at each other after getting high sniffing glue," she said.
The state weather service has warned the extreme heat will persist for the next two weeks at least, meaning the students could be mostly stuck at home before the school year ends on May 31.
Mangampo said she has her children bathe twice daily, once in the morning and a second before bedtime.
"It's so hot they have difficulty falling asleep," Mangampo said.