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

Branch mio #27

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Branch mio #27

wants to merge 8 commits into from

Conversation

joaquinrodini
Copy link

No description provided.

const edad = Number(document.querySelector('#edad').value);


document.querySelector('#datos-finales').value = $datosFinales;
Copy link
Contributor

Choose a reason for hiding this comment

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

document.querySelector('#datos-finales').value = $datosFinales; $datosFinales hace referencia al botón, Vos estás diciendo que el elemento que tiene id datos-finales va a ser igual al botón 🤷‍♂

Copy link
Contributor

Choose a reason for hiding this comment

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

En realidad vos tenés que decir que el valor de #datos-finales va a ser la concatenación de todos los otros datos que ya agarraste arriba.

document.querySelector('#datos-finales').value = `Te llamás ${primerNombre} ${segundoNombre} ${apellido} y tenés ${edad} años`

Copy link
Author

Choose a reason for hiding this comment

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

entonces debería ser igual a $entrar?

Copy link
Contributor

Choose a reason for hiding this comment

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

$entrar es un botón. Vos no podés decir que el valor de un campo de texto es igual a un botón. Me explico? En el comentario de arriba te puse exactamente lo que tenés que poner. Decime si no se entiende.

@fsodano
Copy link
Contributor

fsodano commented Nov 5, 2019

EL PR lo hiciste al repositorio de r-argentina-programa, debería ser de tu branch a tu propio master.

Mirate este video: https://drive.google.com/file/d/1u1DKwJm_yjzlxALkj8oExb590PTTCog2/view

@fsodano
Copy link
Contributor

fsodano commented Nov 5, 2019

Por otro lado, los commit messages no pueden ser "hace cambios" tienen que describir qué cambiaste y por qué.

const $ver = document.querySelector('#ver')

$ver.onclick = function(){
const promedio =
Copy link
Contributor

Choose a reason for hiding this comment

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

Acá te comiste algo, no?

const segundos = document.querySelector('#segundos').value;

const tiempo = document.querySelector('strong');
tiempo.textContent = `${horas} hora/s, ${minutos} minuto/s y ${segundos} segundo/s`;
Copy link
Contributor

Choose a reason for hiding this comment

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

Esta función debería calcular la sumatoria de las horas, minutos y segundos de varios videos, no de sólo 1.

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.

2 participants