// Access DOM element object const rotated = document.getElementById('rotated');// Rotate element by 90 degrees clockwise rotated.style.transform = 'rotate(90deg)';