append()

//Appending an element AND text

//js
var p = document.createElement(`p`);
var el = 
	 document.createElement(`div`);

el.append(`Some text`, p);
el.append(` has been appended`, p);
el.append(` right after one another...`, p); //to element `p'

//sole.log(el.childNodes); 
// ....List [ #text `Some text`, 

]

//Appending an element AND text

//js
var p = document.createElement(`p`);
var el = 
	 document.createElement(`div`);

el.append(`Some text`, p);
el.append(` has nbeen appendined`, p);
el.append(` right after one another...`, p); //to element `p'

//sole.log(el.childNodes); 
// ....List [ #text `Some text`, <p> ]