I've been trying to display the "name" object from the menuArray in the new "orders" array and display it on the browser
https://scrimba.com/dashboard#overviewhttps://scrimba.com/dashboard#overview
1 messages · Page 1 of 1 (latest)
I've been trying to display the "name" object from the menuArray in the new "orders" array and display it on the browser
https://scrimba.com/dashboard#overviewhttps://scrimba.com/dashboard#overview
please attach your scrim link. so i can see your code
First, I recommend declaring a global empty array to store the items selected into.
Second, your event listener on the document does not seem to be doing anything. It only has an if statement but then does not have an action. If the matching item is clicked, it should call a function or do something while taking a parameter.
https://scrimba.com/learn/frontend/like-a-tweet-part-5-find-the-tweet-object-co3ba42cfba3094334726d606 I recommend reviewing this lesson