JavaScript Find Class em Div
const div = document.querySelector('div');
div.classList.contains('error'); // falseCode language: JavaScript (javascript)
const div = document.querySelector('div');
div.classList.contains('error'); // falseCode language: JavaScript (javascript)