FOR is best for when the number of repititions is know, whereas the WHILE will continue until the code breaks or is told to break. Because the code continues until the user inputs “quit”, WHILE is the best answer.

Javascript Quiz:

Lists allow for multiple pieces of information to be assigned to one variable. This can help with repeating the same process for multiple items, as well as displaying certain sequences. Iteration helps completes a series processes so that each repition doesn’t need to be written out by the coder.