<!DOCTYPE html> <html> <title>Web Page Design</title> <head> <script> document.write("Check weather today: <br>"); var theweather = prompt("Is it cloudy outside?:"); if(theweather=="Yes") { document.write("Bring an 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