I’ve got a selector ref in front of me which is great for selecting classes/ids but I always struggle with the following;
Let’s say I want to select the 2nd ‘p’ “Available to walk” to change it’s style, without adding a class how can I target it in a unique way (i.e won’t clash with other ‘p’s’? nth-of-type seems to select both ‘p’.
The only reason I was trying to avoid class/ids was to get used to the selectors. I usually class everything as it’s much easier but trying to learn how to select things without classing them.