Skip to content

Commit f1bd921

Browse files
committed
caloriecounter_challenge
1 parent e2eaa6d commit f1bd921

File tree

10 files changed

+6042
-0
lines changed

10 files changed

+6042
-0
lines changed

caloriecounter_challenge/PLAN.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Calorie Counting App Plan / Notes
2+
3+
## Data Model
4+
5+
Example Model/Shape:
6+
7+
```javascript
8+
meal = {
9+
id: 1,
10+
description: 'Breakfast',
11+
calories: 460
12+
}
13+
model = {
14+
meals: [],
15+
showForm: false,
16+
description: 'Dinner',
17+
calories: 600,
18+
editId: 3,
19+
nextId: 1,
20+
}
21+
```
22+
23+
## View Functions
24+
25+
view
26+
formView
27+
fieldSet
28+
buttonSet
29+
tableView
30+
tableHeader
31+
mealsBody
32+
mealRow
33+
cell
34+
totalRow

0 commit comments

Comments
 (0)