how to create a text element in javascript code example
Example 1: js create element
var newDiv = document.createElement("div");
document.body.appendChild(newDiv);
Example 2: textNode
document.createElement('elemento_a_crear');
var newDiv = document.createElement("div");
document.body.appendChild(newDiv);
document.createElement('elemento_a_crear');