| Button | Function | Button | Function | Button | Function | Button | Function |
|---|---|---|---|---|---|---|---|
| Alert "Hello" (hello) |
Alert "Are you leaving?" Then- "Ok Bye!" (goodbye) |
Change the background color (changeColor) |
Replace some text on the page (changeText) |
||||
| Display today's date (showDate) |
Display the current time (showTime) |
Generate a random number (randomNumber) |
Ask for a name and display a greeting (askName) |
||||
| Count how many times you click Clicks: 0 (countClicks) |
Reset the click counter (resetCount) |
Hide some text on the page (hideText) |
Show the hidden text (showText) |
||||
| Make the text larger (increaseSize) |
Make the text smaller (decreaseSize) |
Switch between light and dark colors (toggleTheme) |
Restore the page to its starting state (resetPage) |
Secret message: You found the button testing zone. Try changing, hiding, or resizing this text!