Targeting first letter of each word in h1 using javascript
I am trying to wrap the first letter of each word in my heading tags with a span class so that I can style them using CSS. I have tried to use a snippet I’ve found on here, but I have 2 h1 tags and it is taking the first one and repeating it for… Read More Targeting first letter of each word in h1 using javascript