DEV Community


Posted on

How would you assign each value from an array to each card,which is a markup?

I am working on my novice portfolio project,but this project turned out to be way difficult and challenging for a newbie coder like me.

Thing is,I have this API games data,each of these games have ID.
I have rendered the html game cards through JavaScript string markup to make it dynamic.problem is I can not assign these data to each would u suggest it?
Say, 20 interger numbers for 20 dynamically rendered html markup?

Discussion (0)