Data Attribute

console.error( 'Something went wrong!' );
  

Top

const container = document.getElementById( 'container' );
container.classList.add( 'is-active' );
  

Bottom

const container = document.getElementById( 'container' );
container.classList.add( 'is-active' );