Here’s an example of a program that you can use or modify for your demo if you’re stuck:
- Ask three personal questions (What is your name?, etc.) using
prompt(). Use an array so that more questions can be added easily.
document.write() to add the questions and answers to your page.
- Use an
else loop so that blank answers are marked “This answer intentionally left blank.” or something to that effect.
If you have questions or want me to look at your demo before Wednesday, feel free to email me.