Programming Exercises

Create a button with a ripple effect when clicked.

Medium

Problem Statement

Create a button with a ripple effect when clicked.

Sample Output

A ripple effect appears when the button is clicked.

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
<!DOCTYPE html> <html> <head> <style> /* Add CSS here to style the button with a ripple effect */ </style> </head> <body> <button class="ripple">Click Me</button> </body> </html>
Log in or sign up to run or submit your code.Log inSign up
Expected Output
A ripple effect appears when the button is clicked.