Show an alert saying "Button Clicked!" when a button is clicked.

When the user hovers over an image, change its border to 5px solid green, and remove it when hoverends.

Sample

When the user types in an input box, show the same text in real-time inside a p tag

On form submission, prevent the page from reloading and display the entered name in a div below

Dark mode toggle button.