export function renderItems(items, categories, info) { let html = ''; if (!items.error) { categories.forEach(category => { items.forEach((item, i) => { if (item.category.toLowerCase() === category.title.toLowerCase()) html += `