Categories
Mastering Development

selecting div with multiple non-nested specific children

<div class="outer"> <div> <span>Some text</span> </div> <div> <span class="className">information that I don’t know</span> </div> </div> <div class="outer"> <div> <span>Some different text</span> </div> <div> <span class="className">information that I don’t know</span> </div> </div> If I have multiple divs with same class and I want to select specific <span> inside that div I would do it like this: […]