Modifying HTML Content and Attributes

What's the difference between using className and classList.add()?
const div = document.createElement('div');
div.className = 'highlight';
div.classList.add('active');
Next Question (6/20)