(CNN) -- When high school junior Jacob Lescenski couldn't find a date for prom, he thought he'd ask his best friend to go with him.
His best friend, Anthony Martinez, also a junior at Desert Oasis High School in Las Vegas, didn't have a date. He's also gay.
And that's when it got fun.
After seeing Martinez's wistful social media posts not having a date for prom, Lescenski told CNN he came up with an idea and a clever rhyme that's now gone viral.
Lescenski enlisted friends into poster-making and went to pop the question at school. Martinez was selling prom tickets when he came across a poster being unraveled in the hallway.
"You're hella gay, i'm hella str8, but you're like my brother so be my d8" read the poster.
It was the "sweetest, coolest thing that has ever happened," Martinez told CNN.
Initially, Lescenski was anxious thinking how people might judge his actions but decided to go forward anyway. "If it made Anthony happy, and fulfilled his dream of going to prom with a guy, and had a date to prom myself, nothing else mattered," Lescenski told CNN.
By putting his friend first, he won over the Internet.
"What a truly wonderful display of friendship!" tweeted Bridg-it, a New York City-based anti-bullying program.
"Kudos for shining a light on a better path," wrote another fan.
"This Guy knows the real mean of FRIEND," wrote another.
Martinez says his friend has done more than make him happy. Jacob has "made a huge change in the world somehow," adding that their involvement in student council has been just about making great change in the lives of many, and in ways they would never expect.
Anthony's best friend Jacob Lescenski told NewNowNext that he had been planning to go to prom solo because his initial idea for the big night had fallen through.
“So, I came up with the poster idea, asked my friend Mia to make it and asked him that next day,” he recounts. “No one knew about it except for me, my friend Jamie, and Mia, who made the poster. It was a giant surprise to everyone, especially Anthony!”
Anthony posted this on his Tumblr page:
Guess who got asked to prom! BY A STRAIGHT GUY (Army pants). he’s my best friend, and a real man given the fact he has the guts to fulfill my gay student council dream of always helping out planning dances, and never getting asked. I couldn’t ask for a better person in my life.
Thank you Jacob can’t wait for May 2nd!
And the rest is promposal history.