1// blah blah blah ajax call blah blah blah fetch, blah blah blah something else that brings me data
2
3//data comes back as something to iter through
4var data = [{
5 email: 'something'
6}, {
7 email: 'something2'
8}, {
9 email: 'blah'
10}, {
11 email: 'blah2'
12}, {
13 email: 'blah blah'
14}, {
15 email: ':o blah'
16}]
17
18
19data.forEach(item => {
20 var div = document.createElement('div')
21 div.innerHTML = `<div>some fancy box//// ${item.email} \\\\\\some more facy box</div>`
22
23 document.body.appendChild(div);
24})