Hide and Seek Bugs π πͺ²
Looking at your generated cards in the js file, I saw you rendered all your cards on the page using HTML elements by using innerHtml which means the object array you created has no actual use.
Possible solution β»οΈβ»οΈ
- Add just card in your HTML in your
innerHTML
- You the
forEach function to loop through your object array to generate all 4 cards
- You can also use
for loop
Thank you π , It's my pleasure ππ I was able to debug your code.β€οΈ
Hide and Seek Bugs π πͺ²
Looking at your generated cards in the js file, I saw you rendered all your cards on the page using
HTMLelements by usinginnerHtmlwhich means the object array you created has no actual use.Possible solution β»οΈβ»οΈ
innerHTMLforEachfunction toloopthrough your object array to generate all 4 cardsfor loopThank you π , It's my pleasure ππ I was able to debug your code.β€οΈ