The strategy is to first get the element ID you want to append to, then create a new row element with the new data, and then append that element to the ID you got in step 1.
Perhaps something like this?
<pre lang="Javascript">var tableBody = document.getElementById('tableBody');
var newRow= document.createElement('tr');
newdiv.innerHTML = 'My Second Favorite Book';
tableBody.appendChild(newRow);</pre>
You'll need to give the
tbody an id of 'tableBody'. You'll also then need to follow this strategy to add the
td elements.