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

Programming Exercises

Design a button that "melts" into the background when clicked.

Hard

Problem Statement

Design a button that "melts" into the background when clicked.

Sample Output

Clicking the button makes it shrink and fade into the background.

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 melting effect */ </style> </head> <body> <button class="melt-button">Click Me</button> </body> </html>

Document

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