Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

Pakimanes#32

Open
paocmoras wants to merge 36 commits into
Laboratoria:masterfrom
paocmoras:master
Open

Pakimanes#32
paocmoras wants to merge 36 commits into
Laboratoria:masterfrom
paocmoras:master

Conversation

@paocmoras

Copy link
Copy Markdown

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".

//export default {
"pokemon": [{
"id": 1,
"num": "001",

Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Author

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"

Comment thread src/index.html
</div>


<!--imagenes deslizables------------------------------------->

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Author

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.

Comment thread src/index.html
</div></div>

<!--Menu-------------------------------------------------->
<main>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lo mismo aquí.

Comment thread src/index.html

<!--Search------------------------------------->
<div class="box">
<form>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Igual aquí.

Comment thread src/main.js
//---------------------Clasificación por tipo de pokemon------------------------

let btn1 = document.querySelector('#poison');
btn1.addEventListener('click', mostrar1 )

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Author

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

Comment thread src/main.js
function mostrar17() {
document.querySelector('#root').innerHTML= '';
typeSteel()
}

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

ok, lo intentaremos!

Comment thread src/main.js
}

let c = document.getElementById('C');
c.addEventListener('click', all3)

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Entendido!

@AdrianaHY AdrianaHY left a comment

Copy link
Copy Markdown
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants