freeCodeCamp / CurriculumExpansion

Creative Commons Attribution Share Alike 4.0 International
315 stars 105 forks source link

feat: replace student grade tracker with recipe tracker #625

Closed Ksound22 closed 1 month ago

Ksound22 commented 1 month ago

Checklist:

Closes #618

Ksound22 commented 1 month ago

We still need to address the second part of the issue which was to update the workshop to be on a different subject matter then students and grades.

We already have a lab that is pretty similar to this where campers are building really similar functionality.

One of the idea I thought of was to have them build a recipe tracker of sorts.

there could be an array of objects like this

const recipes = [
  {
    name: "Spaghetti Carbonara",
    ingredients: [
      "spaghetti",
      "eggs",
      "Parmesan cheese",
      "pancetta",
      "black pepper"
    ],
    cookingTime: 20,
    ratings: [4, 5, 4],
    averageRating: null
  },
...

and then there could be a function to calculate the averageRating

then there could be console.logs for ratings results, or any other information we would like to log to the console

other ideas could be a travel journal or fitness tracker.

it is up to you what subject matter you want to choose as long as it is not students and grades

I didn't notice we had to change everything. Should be fine now.