const div = document.querySelector('.info'); div.classList.contains('secondary'); // trueCode language: JavaScript (javascript)