html+js adding eventlistener on every link

Obviously I am beginner especially with javascript.
Anyway I enclose the code I made. In the table there are three columns, the first reserved for the links to visit, the second reserved for the time that must pass before the next visit, the third reserved for the countdown. Then by clicking on the link in col.1 you should be redirected to the corresponding web page (in a new tab) while, at the same time, a countdown starts which takes the time indicated in col.2 and shows it in col.3 (expressed in hh : mm: ss); when it reaches 0, the word “ready” should appear, but it is also okay that it remains at 0.
I think my script needs some help with adding event listeners to each link, and getting the countdown to start and show up in column 3.
Thanks in advance to those who will help me.

    <tr>
      <td>
        <a href="http://www.google.com" id="url" onclick="startTimer()" target="_blank">
          Google
        </a>
      </td>
      <td class="time">00:01:30
      </td>
      <td class="countdown">
      </td>
    </tr>
	<tr>
      <td>
        <a href="http://www.apple.com" id="url" onclick="startTimer()" target="_blank">
          Apple
        </a>
      </td>
      <td class="time">00:00:30
      </td>
      <td class="countdown">
      </td> 
    </tr>
	

this is the javascript:

 
        document.querySelectorAll('table td a').forEach(link => {
            link.addEventListener('click', event => {
                event.preventDefault();
                const row = link.parentNode.parentNode;
                const url = link.href;
                const time = row.querySelector('.time');
                const countdown = row.querySelector('.countdown');
                console.log(url, time.classList, countdown.classList);
                })
        });
           
startTimer = () => {

  window.open(url.href, '_blank');

  let tiks = setInterval(countdown, 1000);

  link.style.color = 'red';
  count.style.color = 'red';

  function countdown() {
    if (secs == -1) {
      clearInterval(tiks)
      link.style.color = 'green';
      time.style.color = 'green';
      count.style.color = 'green';
    } else {
      count.innerHTML = secs;      secs--;
    }
  }
   }

@bigmim - I looked at the markup, and I’m having some difficulty following what you are trying to do. Were you able to get this resolved? There are some tips here that can help optimize the behavior: https://www.kirupa.com/html5/handling_events_for_many_elements.htm

Cheers,
Kirupa