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

javascript-javascript1-week4/juan #125

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PAINj9
Copy link
Collaborator

@PAINj9 PAINj9 commented Dec 7, 2024

No description provided.

@PAINj9 PAINj9 changed the title Homework javascript-javascript1-week4/juan Dec 7, 2024
Copy link
Collaborator

@LucasIversen LucasIversen left a comment

Choose a reason for hiding this comment

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

Hey Juani. Let me know if any comments need further explanation

"katrine",
"Tala",
];
const nameToRemove = "Ahmad";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Try changing the name to "Yana" and see if it still works :)




let horas = travelInformation.destinationDistance / travelInformation.speed;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good. Let's make it a function and check if any variables could be declared const.

// CALCULATING TIME OF SERIES IN HOURS


const totalHoras = (seriesDurations[0].days * 24) + seriesDurations[0].hours + (seriesDurations[0].minutes / 60);
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need to make this function and pass the other TV-series objects there as well

}

function getNote(id) {
for (let i = 0; i < notes.length; i++) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

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