<!DOCTYPE html> <html> <title>Web Page Design</title> <head> <script> var urweather = prompt("Is the weather cloudy"); if(urweather == "Yes") { document.write("Bring Umbrella!"); } else { document.write("Go out and play :D"); } document.write("<br>"); var urweather = prompt("Is my dress nice"); if(urweather == "Yes") { document.write("Yay!"); } else { document.write("Ok :( Let me go and change"); } </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