Press the green flag twice. When answering, click A to answer (A), B to answer (B), and so on. If you get a question right, you will move on to the next question. If you get it wrong, you will lose a heart. Lose all 5 hearts and it's game over.
Credits to Toby Fox for Bonetrousle and Sans