JavaScript code var names = new Array("Aaron", "Dave", "Angie", "Pat", "Sam"); function addParagraphs() { var elem = document.getElementById("results"); for (var i=0; i