Good afternoon, I ask for help. There is a html structure:
<div class="song-info song-play "> <div class="song-title"> <a title="Ether" href="/ru/a35184372149697/al56c79bbf75c08ebf259759f7/t56c79bbf75c08ebf259759f8"> Ether </a> </div> <div class="song-artist"> <a href="/ru/a35184372149697" title="Mogwai">Mogwai</a> </div> </div> I want to get Ether Mogwai links to an array or object. For this, I loop around the entire html with the loop:
var x = document.getElementsByClassName('song-title'); var x1 = document.getElementsByClassName('song-artist'); but then I can’t pick the link text and glue it together. I do this:
x[1].childNodes Then I want to get the name of the song: x 1 .childNodes.title; // undefined
The site, the name of the songs from which I'm trying to get

