- 1
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
2 odpowiedzi
+ 2
I don't get any error
+ 2
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;