Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/display likes #28

Merged
merged 3 commits into from Dec 23, 2021
Merged

Feature/display likes #28

merged 3 commits into from Dec 23, 2021

Conversation

vechicin
Copy link
Collaborator

In this feature I did the following:

  • Create a function to get the number of likes from the API
  • Create a function and an event listener to push likes to the API
  • Create a function to render the number of likes each Pokemon has on the page

The merge is necessary because I need some functions from a branch that was merged a couple of minutes ago.
Copy link
Owner

@MacCrazyman MacCrazyman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incredible Job @vechicin 🥇

Everything looks good for this part of the project ✔️

I'm approving this pull request and leaving just a little comment for you to implement in your next feature branch.

Congratulations.

Comment on lines +99 to +101
renderLikes().then((response) => getPokemonInfo(response));

getPokemonInfo();
// getPokemonInfo();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • We can get rid of this commented line as it is already implemented inside the anonymous function

@MacCrazyman MacCrazyman merged commit cfea0c0 into development Dec 23, 2021
@vechicin vechicin linked an issue Dec 23, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants