I asked my teacher a question because I wanted to embarrass her
Why would you want to embarrass your teacher?
She was mean to me all year and I wanted her to see how it feels.
Causing embarrassment to your teacher is immoral and wrong. You should talk to your teacher about how you feel and not try to get retribution on them by embarrassing them.
Meh I want to do it though.
I'm sorry that she was mean to you, but I think trying to get revenge is wrong. You should speak to someone higher up if she's really bothering you.