I am trying to create a comment page that displays a text box for the user to enter their comment and display it at a html paragraph. I have this part created but the issue I am having is that I'm trying have the first user's comment displayed as a paragraph and then the next user's comment to display below it. So essential, I looking to create multiple paragraph based on the user's comments in the text box. I can't use document.write because the paragraph is create in a separate page and I want everything displayed in one page. This is what I have so far. I can only use regular js, no jquery please


<div id="commentbackground">

<p id="para"></p>

<textarea id="words" rows="30" cols="20">Enter comment</textarea>
<input type="button" onclick="getwords()" value="Enter" />

<script type="text/javascript">
function getwords(){
text = words.value;
document.getElementById("para").innerHTML = text
document.getElementById("words").innerHTML = "enter"