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