Creating Elements with JS
- We covered creating elements with innerHTML
- innerHTML is powerful but unwieldy
- Need to format your elements in HTML
- If these elements need event listeners, you end up needing JS in HTML in JS (in an HTML page)
- When building complex element structures, there is a potentially better way
6 / 17