Site hosted by Angelfire.com: Build your free website today!
\r\n

Here are the problems and answers in the order given.

" newContent += "\r\n\r\n\r\n

Here are the problems and answers in the order given.

" newContent += "\r\n

How well did you do?

\r\n
" newContent += resultsPage + "
" // by commenting out the line below the function to change the background and text color is not accessable to the page /////////newContent += "" 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) //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" }

Add Positive and Negative Integers

Problem # 1