Skip to content

Tucker leach#1

Open
leachtucker wants to merge 7 commits into
masterfrom
tucker-leach
Open

Tucker leach#1
leachtucker wants to merge 7 commits into
masterfrom
tucker-leach

Conversation

@leachtucker

Copy link
Copy Markdown
Owner

No description provided.

Comment thread index.js


function convertToDogYears(humanAge) {
return humanAge / 7;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Since 1 human year = 7 dog years, it would be humanAge * 7

Comment thread index.js
}
return gameMessage;
}
console.log(rockPaperScissors('rock'));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Awesome job on the structure, very well executed

Comment thread index.js
}
return vowelCount;
}
console.log(countVowels("Hello world. How are yOu?"));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The main benefit of using .includes() would be being able to shorten your code, but this method is completely fine as well. It looks great 🙂

@elijahdaniel elijahdaniel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Awesome job overall, Tucker. Your code looks great and I appreciate you completing stretch!

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