Programming Exercises

Change the cursor to a pointer when hovering over a button.

Easy

Problem Statement

Change the cursor to a pointer when hovering over a button.

Sample Input

A webpage with a <button> tag.

Sample Output

The cursor changes to a pointer when hovering over the button.

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
<!DOCTYPE html> <html> <head> <style> /* Add CSS here to style the button */ </style> </head> <body> <button>Hover Over Me</button> </body> </html>
Log in or sign up to run or submit your code.Log inSign up
Input
A webpage with a <button> tag.
Expected Output
The cursor changes to a pointer when hovering over the button.