Xander’s team

const anchors = document.querySelectorAll('a'); anchors.forEach(function(el) { console.log(el); if(!el.href) { el.style.display = 'none'; } });