I'm building a javascript math game for a web site.
Its all working fine.
im using document.get element by id to populate 2 divs with randomly generated numbers.
the user enteres the answer into a textbox
clicks check answer button and a message box displays letting the user know if the answer was right or wrong.

THIS NEXT PART IS WHERE IM HAVING TROUBLE

After the user clicks check answer button i want the sidebar to populate with all the answered sums so after 3 sums it will look like this:

num1 + num2 = ans
num1 + num2 = ans
num1 + num2 = ans

Any help would be greatly appreciated.
thanks

This is driving me nuts.