- 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

22nd Jan 2021, 5:47 AM
Malick Diagne
Malick Diagne - avatar
2 Respostas
+ 2
I don't get any error
22nd Jan 2021, 7:32 AM
Krish
Krish - avatar
+ 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;
22nd Jan 2021, 7:38 AM
Krish
Krish - avatar