Ad
  • Default User Avatar

    Hi Kyle, yes. The idea is that you would store the original recipe in the cake function. The function call cake('butter', 50) addresses the question: If I only have 50g of butter, how much would I need of all the other ingredients? Does that make sense?

  • Custom User Avatar

    Sorry I only saw this now. Don't know how I let it slip through the cracks.

    Your code is returning in the first iteration, every time. This ends execution of the function, and so it only renders out the first word.