Cody Biggs wrote:So the only thing I have experience/knowledge of is to turn the object into a string and split that. Which is why I’m trying to use that logic here.
Cody Biggs wrote:Well in my thinking I need the string because you can’t split an object.
Cody Biggs wrote:I have two recipes objects already made.
They are mapped and shown as li’s.
When clicked on they display the whole recipe
I don’t know how to change my original map that maps out the recipe to include the ingredients/directions as li’s
Cody Biggs wrote:Yea they are shown by name, and the handlerecipe function uses index to tell what recipe was clicked on.
When I say map I am referring to the map that shows my names as a list. If I’m not going to split the object then I need to do the same thing for ingredients/directions as I did for the names?
If so can I do that in the same map?