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

challenge completed. Aitor Zaldua #27

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aitorzaldua
Copy link

@aitorzaldua aitorzaldua commented Jul 24, 2022

DESCRIPTION

Nombre: Aitor Zaldua

Usuario Platzi: @aitor_

Usuario Discord: aitor#7507

Solución al reto:

Reto #1:
Agregado evento eventNewPokemon que se dispara en la funcion createPokemon con el emmit correspondiente.

Reto #2:
Agregado require => El id debe ser mayor que 0.
Agregado require => El nombre no puede ser espacios en blanco.
Agregado require => El nombre debe tener, al menos, 3 caracteres.

Reto #3:
Agregado array con el nombre de las habilidades.
Agregado mapping para incluir descripción a las habilidades.

Reto #4:
Agregado array para incluir tipos de pokemons.
Agregado array para incluir debilidades.

Reto:

  • Reto 1
  • Reto 2
  • Reto 3
  • Reto 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant