A Chinese groom who earned a PhD in computer science from Tsinghua University was given a quirky challenge by his bride during their wedding ceremony. After about five sweaty minutes of coding, he managed to complete the task: creating a bright red heart that appeared on the computer screen.

The bride explained that since her husband is a computer science PhD from Tsinghua, this was a reminder not to forget his job and livelihood. She also believed he could easily complete the coding challenge.

When this story went viral, many Chinese netizens praised the couple for making their wedding fun and meaningful, way beyond a typical ceremony.

Actually, testing the groom’s skills during the wedding isn’t unheard of. In India, a clever bride once asked her groom to recite a rescue formula on the spot. The groom, who was said to have attended university, couldn’t remember it, so the bride called off the wedding and walked away right then.
Meanwhile, in Wuxi, Jiangsu, China, another groom had to take chemistry reaction tests during his wedding. Unfortunately, he majored in art and couldn’t answer a single question. He ended up begging the bride for mercy with envelopes full of cash.