Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Add an animation to rotate a square continuously.

Medium

Problem Statement

Add an animation to rotate a square continuously.

Sample Output

The square rotates continuously.

Limits

Time: 2s · Memory: 256 MB

Code Editor

Try your code in this preview. Submit marks it done.

<!DOCTYPE html> <html> <head> <style> /* Add CSS here to create the rotation animation */ </style> </head> <body> <div class="square"></div> </body> </html>

Document

To view the HTML changes, please type the code within the editor