Here are the problems and answers in the order given.
" newContent += "\r\n\r\n\r\nHere are the problems and answers in the order given.
" newContent += "\r\nHow well did you do?
" newContent += "\r\n\r\n" // write HTML to resultsWindow (write the web page text to the web page) resultsWindow = window.open() resultsWindow.document.write(newContent) resultsWindow.document.write(resultsPage) // by commenting out the line below the function to change the background and text color is not accessable to the page ////////resultsWindow.document.write("") //resultsWindow.document.close() //If this line is not commented out then the page is erased each time something is written to it. // End of block ************************************************************************************************ // this writes to the original window at the bottom of the page (right now it is commented out) //document.body.appendChild(newElem) //document.getElementById("newP").style.fontSize = 24 //document.getElementById("newP").style.fontWeight = "normal" //document.getElementById("newP").style.color = "red" }// end else 1 }// end of function PrintProblemAndAnswerPage()Multiply Positive Integers