<html> <title>Web Page Design</title> <head> <script> document.write("Check the Weather!" + "<br><br>") document.write("Is it cloudy?" + "<br><br>") var theweather = prompt("Is the weather cloudy?:"); if(theweather == "yes") { document.write("Bring your umbrella!") } else{ document.write("Go out and play!")} document.write("<br><br>") </script> </head> <body> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more