Creates a text node for the given string and appends it to the given parent. Returns the text node.
DOM node to append the text node to.
String representing the text to be added.
Creates a text node for the given string and appends it to the given parent. Returns the text node.