Transcript for Girl Banned from Classroom for Shaving Head in Solidarity
Gio, thank you for that. A Colorado 9-year-old who shaved her head as an act of solidarity with a friend who is battling cancer. Her school's reaction, to ban her from the classroom for violating their dress code. That obviously sparked a wave of outrage, ABC's Cecilia Vega has the story. Reporter: They are best friends who do everything together. So when 11-year-old Delaney clements lost all her hair in her fight against cancer -- I'm bald because I got this treatment called chemotherapy and it makes it fall out. Reporter: Kamryn Renfro decided to shave hers off too. My best friend, I decided to shave my hair because I didn't want her to be the only one. Reporter: But this little girl paid a big price for her bold move. I couldn't go to school because of my shaved head. I wanted to share my story but they didn't let me. Reporter: Kamryn's Colorado school has a dress code in place that says shaved heads are not permitted. In order to cut down on distractions and to promote safety and uniformity. Initially I was furious and we respected the dress code. We just didn't agree with it. Reporter: Kamryn's mom made her case on Facebook ignites a firestorm of anger at the school. With comments like "That is absolutely disgusting." They should be ashamed and "What an amazing friend, what a selfish school." But this morning, Kamryn is back in her school uniform and headed to class bald head and all. The school's board holding a meeting overnight voting to make an exception in this case. Even apologizing saying in a statement "Compassion and selfless acts of courage are to be commended and encouraged." Kamryn did such a selfless thing for my daughter and she really taught a lesson in integrity. Reporter: A lesson that some rules are meant to be broken. For "Good morning America," Cecilia Vega, ABC news, los Angeles. And so we learned from the young yet again, the right thing happened in the end and Kamryn, you are -- Beautiful. -- A wonderful, wonderful, beautiful friend and a little hero. What a true bff right there. To the end. I'm glad the right thing won out. Yeah, because at first you're just outraged when you hear it so thankfully they did the right thing. Should we do some weather
This transcript has been automatically generated and may not be 100% accurate.