Lesson 13: Mastering JavaScript Prompt, Alert and confirm with challenges!
🧠 1. alert(message)
✅ What it is:
A built-in browser method to display a modal message box.
It halts the script execution until the user presses “OK”.
🔹 Syntax:
alert("Hello world!");
🔍 Behavior:
Displays a dialog box with a message and an O...
javascript-day-1.hashnode.dev4 min read