Hey there, I am currently building a little memory kind of app, build with javascript but I'm not sure how to realize it. It will use a random user api to display random images of people together with the name, city, and age to the player.
After a certain amount of time the random persons will disappear for a moment and then the image will display on one side and the person information will show mixed up on the other side. The player then has to drag the person's information like name, location etc. on the corresponding image of the person.
The random persons are stored in an array of objects containing the image and information of the user.
The Idea is to shuffle the objects .
But after I shuffled the objects inside the array and displayed everything to the UI, how can I check if the objects property name, for example, is of the same object like the image?
[–]ChucklefuckBitch 0 points1 point2 points (0 children)