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) {