Am I not allowed to like Nirvana?

My music teacher asked us what our favourite song was, I was debating between dogs by pink Floyd and Sappy by nirvana but sappy won so I told her that. She then said ‘oh… riiiight… okay… cool. Cool. At least you didn’t say smells like teen spirit.” (She said this loud so the whole class heard) while she said this she had a judgemental tone and look. You got a problem with the fact I like Nirvana, miss?