Zmień cały tag Href JavaScript
const children = [...parent.getElementsByTagName('a')];
children.forEach((child) => { /* TODO */ });
emanuallan
const children = [...parent.getElementsByTagName('a')];
children.forEach((child) => { /* TODO */ });