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’.
Thank you.
<div class="top-pattern-profile-con">
<span class="left-arrow-profile">❮</span>
<img id="profile-thumbnail" src="https://i.ibb.co/72LfZcz/avatar.jpg" alt="">
<div class="profile-name-column">
<p>Samuel Green</p>
<p>Available to walk</p>
</div>
<span class="Vert-ellipsis">⋮</span>
</div>