#Display object in a new array on the browser

1 messages · Page 1 of 1 (latest)

jagged warren
soft ledge
#

please attach your scrim link. so i can see your code

jagged warren
undone anvil
#

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

Scrimba

Learn to code with interactive screencasts. Our courses and tutorials will teach you React, Vue, Angular, JavaScript, HTML, CSS, and more. Scrimba is the fun and easy way to learn web development.