...

/

Challenge: Creating DOM Elements

Challenge: Creating DOM Elements

In this lesson, we will add elements to the HTML document using JavaScript and the DOM concept only. Let's begin!

Challenge

Create an unordered list with at least three list items using only Javascript. The unordered list should show up in the HTML document and output correctly. A possible output is shown below:

  • Output
output

Implement your solution below

  • HTML
  • JavaScript
html
javascript

Solution review

  • HTML
  • JavaScript
html
javascript
...