text: const navElements = document.querySelector('nav ul');
  
  navElements.addEventListener('click', () => {
  
    let destinationId = event.target.getAttribute('id');
    let destination = document.querySelector(destinationId);
    destination.scrollIntoView({ behavior: 'smooth' });
  })
  