<!DOCTYPE html> <html> <title>Web Page Design</title> <head> <script> var weather = prompt ("Is the weather snowy? (Yes/No)"); if(weather == "Yes") { document.write("Bring a jacket with you."); } else{ document.write("Go to the playground and play!"); } </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