<div id="container"></div>
const items = [
  'thingie',
  'another thingie',
  'lots of stuff',
  'yadda yadda'
]

function listOfStuff() {
  let full_list = '';
  for (let i = 0; i < items.length; i++) {
    full_list = full_list + `<li> ${ items[i] }  </li>`
  }
  const contain = document.getElementById('container');
  contain.innerHTML = `<ul> ${full_list} </ul>`
}

listOfStuff()
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js