JSFiddle - React, Tailwind, and code Playground

by Edward Tanguay

HTML

<div id="content"></div>

JavaScript

const items = [
  {
    id: 1,
    name: 'asdffd'
  },
  {
    id: 2,
    name: 'asd3'
  },
  {
    id: 3,
    name: 'asdfsfsfdffd'
  }
];

items.forEach(function(item, index)) {
	console.log(item);
}