Table of content Introduction Prerequisite Alert Box Confirm Box Prompt Box Conclusion Further Reading/ References Introduction JavaScript is a widely used programming language for client-web interactions. One of its numerous applications is creati...

Markdown supported · ⌘↵ to post
Nice article.
Some feedback would be to review the formatting of code blocks, since the indentations and syntaxes are sometimes incorrect.
For example, instead of:
function webConfirm() { var x; if (confirm("Do you want to exit?") == true) { x = "Welcome back!"; } else { x = "Bye!"; } document.getElementById("exit").innerHTML = x; }It would be:
function webConfirm() { var x; if (confirm("Do you want to exit?") == true) { x = "Welcome back!"; } else { x = "Bye!"; } document.getElementById("exit").innerHTML = x; }Similarly, instead of:
If (message === true) {It would be:
if (message === true) {