MichaelPachec0 / nodejs-project-night

Project night for May 27 2022
MIT License
5 stars 12 forks source link

Render pokemon cards to the DOM. #35

Closed JoeDravarol closed 2 years ago

JoeDravarol commented 2 years ago

This would take care of the first feature of issue #27.

This handle the rendering of each pokemon cards to the DOM. Added a parameter of pokemonArray so that when we have the api ready, the frontend developer can just pass the backend api data as an argument to the function which keeps the code modular.

jericashall commented 2 years ago

Is this for the front and back of the cards?

JoeDravarol commented 2 years ago

Is this for the front and back of the cards?

This only display the back of the card to the DOM though it also contain the front of the card which will only be reveal on clicked. The revealing of the card is being done by @Mire-web.

JoeDravarol commented 2 years ago

Fixed the image source path and removed the .hidden class to reflect the updated changes from #30. Also fixed the merge conflict with #34. (Moved my codes below the code @jericashall wrote)