---
title: "Comment by Carlonn Rivers on \"How to Create Pop-up Boxes on the Web\" | Hashnode"
description: "Nice article. Some feedback would be to review the formatting of code blocks, since the indentations and syntaxes are sometimes incorrect. For example, instead"
url: "https://hashnode.com/posts/how-to-create-pop-up-boxes-on-the-web/6318c4d26b34d71380dab4da/comment/6319190e5abe8613b3d2f6cb"
---

[Discussion](https://hashnode.com/posts/how-to-create-pop-up-boxes-on-the-web/6318c4d26b34d71380dab4da)

Comment [How to Create Pop-up Boxes on the Web](https://hashnode.com/posts/how-to-create-pop-up-boxes-on-the-web/6318c4d26b34d71380dab4da)

[Carlonn Rivers](https://hashnode.com/@Danidre)

[Sep 7, 2022](https://hashnode.com/posts/how-to-create-pop-up-boxes-on-the-web/6318c4d26b34d71380dab4da/comment/6319190e5abe8613b3d2f6cb)

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

[Monioluwa Fasola](https://hashnode.com/@Monioluwa)

[Sep 8, 2022](https://hashnode.com/posts/how-to-create-pop-up-boxes-on-the-web/6318c4d26b34d71380dab4da/comment/6319190e5abe8613b3d2f6cb#reply-631a09816b34d71380daeab8)

Noted. Thank you for your feedback!
