Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
var rant = document.getElementById("rant");
var newPost = document.createElement("post");
var newTextNode = document.createTextNode("welcome!");
newPost.appendChild(newTextNode);
rant.appendChild(newPost);
Don't flame me for errors, hard enough to do on mobile. 😅 -
@Mitiko in my defense, he started in ecmascript.
If he had chosen another language I would've done it that language. 😋
Related Rants
document.innerHTML('Hello world');
undefined
js