-
Notifications
You must be signed in to change notification settings - Fork 62
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
Pakimanes #32
base: master
Are you sure you want to change the base?
Pakimanes #32
Conversation
@@ -1,4 +1,4 @@ | |||
export default { | |||
//export default { | |||
"pokemon": [{ | |||
"id": 1, | |||
"num": "001", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Por qué comentaron el export?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
por que en el "pokemon.js" que ustedes proporcionaron no vienen separadas las categorías, steel y fairy, le preguntamos en el discord a Bliss y nos dijo que podíamos hacer otro paquete de datos y en base a ello se creo "pokemon1.js"
</div> | ||
|
||
|
||
<!--imagenes deslizables-------------------------------------> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recuerden eliminar los espacios y comentarios innecesarios.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eso fue culpa mia e igual de las otras lineas, lo que sucede es que mi compañera y yo teniamos problemas al estar armando paralelamente el proyecto entonces para evitar confusiones agregue todo eso pero puedo borrarlo.
</div></div> | ||
|
||
<!--Menu--------------------------------------------------> | ||
<main> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lo mismo aquí.
|
||
<!--Search-------------------------------------> | ||
<div class="box"> | ||
<form> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Igual aquí.
//---------------------Clasificación por tipo de pokemon------------------------ | ||
|
||
let btn1 = document.querySelector('#poison'); | ||
btn1.addEventListener('click', mostrar1 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Los nombres de variables deben ser más descriptivos, qué hace este botón? Eso no puede dar una idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
este botón al dar click nos manda la información de los pokemones veneno pero podemos cambiarlo igual
function mostrar17() { | ||
document.querySelector('#root').innerHTML= ''; | ||
typeSteel() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quizá esto se pueda refactorizar para que ese evento se pueda hscer en cada botón pero con una función.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, lo intentaremos!
} | ||
|
||
let c = document.getElementById('C'); | ||
c.addEventListener('click', all3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recuerden no nombrar variables solo con letras, no me dice nada.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Entendido!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muy buen trabajo! Por favor solo recuerden nombrar de mejor manera sus variables ya que el ponerlos como nombre una letra o algo tan genérico no me dicen nada, no me indica a que se refiere.
Buenas tardes, solicito el pull request para nuestro proyecto "Bienvenido a Pakimanes", aun no terminamos el proyecto pero seguimos trabajando en el, nosotras hicimos otro set de base de datos porque la base de datos no estaba incluyendo los Pokémones por tipo "Fairy(Hada) y Steel(Acero)" y en esa base de datos estamos trabajando tiene por titulo "pokemon1.js".