My JQuery line doesn't work!

My JQuery line doesn't work!


hello !
this JQuery line $("h1 h2 h3 h4 h5 h6 ").addClass(“text-uppercase”); in my project doesn’t work and can’t find the reason !?
any help !


On the selector, I think you need commas to separate each element you are referring to.


Yes, commas will make it work.


Hey, I’m actually getting some of this stuff! The commas were the first thing I thought of !

Thanks for posting and correcting!


Thank you all so much