JS Confirm
Trigger native confirm() dialogs that return true (OK) or false (Cancel). Practice accepting and dismissing confirms.
A browser confirm dialog will appear. Press OK to accept or Cancel to dismiss.
Delete Confirmation
A common pattern: ask the user whether they really want to delete an item.
Confirm Before Navigation
Confirm whether you really want to go to an external URL.
Sequential Confirms
Two confirm dialogs in a row — both must be accepted to see the success message.