feat: add typescript

This commit is contained in:
2025-06-12 10:39:19 -03:00
parent f6f3c77c61
commit 15fec548d5
9 changed files with 533 additions and 426 deletions
+2 -3
View File
@@ -51,8 +51,7 @@
</div>
<button class="add-btn" id="add-food-btn">Add Food</button>
</div>
<div id="food-preview" class="add-food-form-item display-none">
<p>Calories: 0 - Protein: 0 - Fat: 0 - Carbohydrates: 0</p>
<div class="add-food-form-item display-none" id="food-preview">
</div>
</div>
@@ -93,6 +92,6 @@
</div>
</div>
<script type="module" src="index.js"></script>
<script type="module" src="index.ts"></script>
</body>
</html>