challenge 2

Estimated reading: 1 minute 187 views

keys

				
					        <button onclick="addTodo()">Add</button>

				
			
				
					var input = document.getElementById("todoInput");
            var inputValue = input.value.trim();
				
			
				
					            document.getElementById("todoList").appendChild(listItem);

				
			
Todo List

Todo List

    Share this Doc

    challenge 2

    Or copy link