PDA

View Full Version : Need Help with To Do List please.



Juddles
Jan 18th, 2017, 09:46 PM
i am currently needing to created A to do list. In this list, there will be no pre-populated items in the array. I will need to prompt for a value and keep prompting, using a loop for another value until someone puts in 'q' into the prompt.

To an experienced javascript programmer I assume this is child's play, but I am having a tough time figuring it out.

Would someone be able to give me a code examlpe of how I would accomplish something like this?

I know I would be using a push to add to the array.

Any and all help is greatly appreciated! Weeks old in terms of my JS programming experience.

Thank you in advance!

xelawho
Jan 19th, 2017, 12:59 AM
You can show us your code so far but be aware that prompts are considered obsolete in JavaScript - I would suggest rethinking your interface and maybe using text inputs