<head> <h1>Boolean</h1> </head> <body> <script> var b = confirm("Say Yes or No, please"); alert(b); </script> </body>