document
.querySelectorAll('td')
.forEach((td) => {
td.addEventListener("click", (ev) => {
const siblings = ev.target.closest("tr").querySelectorAll("td");
console.log(siblings[0].innerHTML);
console.log(siblings[1].innerHTML);
console.log(siblings[7].innerHTML);
})
});