How do I refer to the span that is in the li?
const selector = "li.volga span"
const txt = "волга"
const elem = Array.from(document.querySelector(selector)).find(v => v.innerText.includes(txt))James Cantu
To place the code, please use CodePen or similar tool. Thanks you!