-
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
DataLovers POKENDIA GO! #37
base: master
Are you sure you want to change the base?
Conversation
… más información sobre el pokemon
src/data.js
Outdated
if (abc.name > bcd.name) return 1; | ||
if (abc.name === bcd.name) return 0; | ||
return -1; | ||
}); |
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.
Pregunta, a qué se refieren los parámetros abc, bcd? Me parece que podrían tener nombres más descriptivos :)
sortData, | ||
filterData | ||
}; | ||
|
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!
@@ -20,21 +19,17 @@ <h1> INICIAR SESIÓN </h1> | |||
<p><input id="Password" class="userData" type="text" name="Contraseña" placeholder="Contraseña"></p> |
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.
Es preferible escribir los id y clases en mayúsculas y elegir como hacerlo, si será en camel case todo en camel case o Pascal case, pero elegir solo uno para tener un mejor orden.
<a href="#sign-in" title="login">Crear Cuenta</a> | ||
</div> | ||
<div class="newUser"></p><h3>¿Eres usuario nuevo?</h3> | ||
<a href="#sign-in" title="login">Crear Cuenta</a></div> | ||
</section> | ||
|
||
|
||
<!-- Segunda pantalla Crear cuenta --> | ||
<section id="sign-in" class="page2"> |
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.
La clase del container debería ser más descriptiva y así evitamos añadir comentarios innecesarios.
src/index.html
Outdated
<p><button id="friend" class="click" type="button">Elegir acompañante</button></p> | ||
<button id="test"></button> | ||
<!-- <p><input id="Search" class="space" type="text" name="Buscar" placeholder="Búsqueda"></p> | ||
<button id="test"></button> --> |
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.
Código que no se utilice debemos borrarlo :)
src/index.html
Outdated
<option value="03"> A-Z</option> | ||
<option value="04"> Z-A</option> | ||
</select> | ||
<select id="orderpokemon" class="type-select"> |
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.
Elegir un idioma para nuestro código, de preferencia en inglés :)
src/index.html
Outdated
<span class="slider round"></span></p> | ||
<label class="switch"> | ||
<input type="checkbox" checked> | ||
<span class="slider round"></span></p> | ||
</div> | ||
<div class="conteiner"> | ||
<h3>Zonas cercanas de Centros Pokemón</h3> |
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.
Just a typo, should be "container" :)
|
||
//Devuelve el primer elemento que es #allThePokemones. | ||
let list = document.querySelector ('#allThePokemones') | ||
|
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 paréntesis deben estar junto al método:
...querySelector('');
src/main.js
Outdated
|
||
//Mostramos en consola los arrays | ||
console.log (catalogue1); | ||
|
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 console log solo nos sirven para debuggear, no hay que subirlos a github :)
src/main.js
Outdated
<p>${pokemon.type}</p> | ||
<p>${pokemon.weaknesses}</p> | ||
</div> | ||
` |
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.
Cuidar la indentació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.
Muy bien trabajo chicas!! cada vez van mucho mejor!
se visualiza el ordenar y filtrar, pero no me funciona ninguno al dar click,
Quiza no estoy llamando bien a mis variables
También ya puede visualizarse más información sobre los pokémones, dandole click a la tarjeta, solo falta darle estilo