---
title: "Discussion on \"Lesson 13: Mastering JavaScript Prompt, Alert and confirm with challenges!\" | Hashnode"
description: "Discussion on \"Lesson 13: Mastering JavaScript Prompt, Alert and confirm with challenges!\". 🧠 1. alert(message)\n✅ What it is:\n\nA built-in browser method to display a modal message box.\n\nIt halts the script execution until the user presses “OK”.\n\n\n🔹 Syntax:\nalert(\"Hello world!\");\n\n🔍 Behavior:\n\nDisplays a dialog box with a message and an O..."
url: "https://hashnode.com/posts/lesson-13-mastering-javascript-prompt-alert-and-confirm-with-challenges/67fe367f4ea4b09e227ed1e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Lesson 13: Mastering JavaScript Prompt, Alert and confirm with challenges!](https://javascript-day-1.hashnode.dev/lesson-13-mastering-javascript-prompt-alert-and-confirm-with-challenges?utm_source=hashnode&utm_medium=feed)

🧠 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...

Apr 15, 2025 · 4 min read · javascript-day-1.hashnode.dev  
Read the article

-   [#alert](https://hashnode.com/tag/alert)
-   [#prompt](https://hashnode.com/tag/prompt)
-   [#confirm-in-js](https://hashnode.com/tag/confirm-in-js)

## Written by

[manoj ymk](https://hashnode.com/@manoj-ymk)

@manoj-ymk

  
[View profile](https://hashnode.com/@manoj-ymk)

“Daily Dev Notes — For You and Future Me”

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
