Note: This challenge focuses more on logic than UI. If you want to also focus on and practice UI, visit our UI Components challenges.
Objective: Implement an alert dialog that displays a message and provides "Cancel" and "Confirm" buttons for user interaction.
Instructions:
Requirements:
Hints: