Newline Text Node : i have this code and i want to new line in Text Node. its now working :(

your help please....... 


<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-js -->

        // Create a new list item when clicking on the "Add" button
            function newElement() {
                var li = document.createElement("li");
                var inputText = document.getElementById("myInput").value + document.createElement("br") + "ddd" ;
                var t = document.createTextNode(inputText);
                li.appendChild(t);
                li.value = document.getElementById("myValue").value;
                if (inputText === '') {
                    alert("You must write something!");
                } else {
                    updateLI(li);
                    document.getElementById("myUL").appendChild(li);
                }
                document.getElementById("myInput").value = "";
                document.getElementById("myValue").value = "";
            }

<!-- end snippet -->

