Building a To-Do List
Instead of writing HTML by hand, JavaScript can create it. Type a task, press Add, and a new list item appears out of nowhere.
What you'll learn
Create and append elements from JavaScript.
New command
document.createElement('li')๐ป Code Editorhtml
๐ฌ
Press Run Code to see your creation!