- 1
My user1.updateStatus ("Writting code html script.) is not display. Thanks you sir.
Display Writting code html script update. https://code.sololearn.com/WrDc2aih0j4G/?ref=app
1 Antwort
0
JavaScript > DOM & Events > 48.1 Lesson Adding & Removing Elements
https://www.sololearn.com/learning/1024/2755/5840/1
Just do as in the demo code.
let p = document.createElement("p");
let node = document.createTextNode(user1.status);
p.appendChild(node);
document.body.appendChild(p);