I want to display name and review with id paragraph. I have error. Thanks you.
Display name and review with paragraph. https://code.sololearn.com/W2c4ElsDAe9V/?ref=app
I don't get any error
If you need multiple review then write selected-paragraph.innerHTML += name + ":" + review + "<br>"; If you want the latest review at the top the write para.innerHTML = name + ":" + review + "<br>" + para.innerHTML;