0

JavaScript

How can i keep all comments in this code??? After submitting a new one, the others will be removed https://code.sololearn.com/W9rGDg3RIZfD/?ref=app

16th Aug 2020, 2:52 PM
Shaghayegh
Shaghayegh - avatar
2 Answers
+ 2
Replace this document.getElementById("demo").innerHTML +=("<br>" +comment);
16th Aug 2020, 3:02 PM
Jayakrishna 🇼🇳
+ 1
Jayakrishna🇼🇳 thanks it worked!😁
16th Aug 2020, 3:05 PM
Shaghayegh
Shaghayegh - avatar