/* Get the container element */ const container = document.querySelector('.container'); /* Create a new galaxy element and add it to the container */ const galaxy = document.createElement('div'); galaxy.classList.add('galaxy'); galaxy.classList.add('animate'); galaxy.classList.add('shadow'); container.appendChild(galaxy);