JavaScript Get Class of Body

document.body.classList.contains('my-class-name')
Dreamy bird