From b3baaec974ba5ba7ba99b0df87165c7a4d3c0f83 Mon Sep 17 00:00:00 2001 From: Ricardo Campos Date: Wed, 11 Jun 2025 21:49:26 -0300 Subject: [PATCH] fix: add missing JS files and logic --- foodDatabase.js | 2 +- index.html | 10 +++++----- index.js | 33 ++++++++++++++++++++++++++++++--- style.css | 4 ++++ 4 files changed, 40 insertions(+), 9 deletions(-) diff --git a/foodDatabase.js b/foodDatabase.js index 31f20f9..6cb58a1 100644 --- a/foodDatabase.js +++ b/foodDatabase.js @@ -1,4 +1,4 @@ -const foodDatabase = { +export const foodDatabase = { // Fruits 'Frutas - Abacate': { calories: 96, protein: 1.2, fat: 8.4, carbs: 6, fiber: 6.3 }, 'Frutas - Abacaxi': { calories: 48, protein: 0.9, fat: 0.1, carbs: 12.3, fiber: 1 }, diff --git a/index.html b/index.html index 1ed2616..2c19241 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@ - +