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

Joshua Aragon #191

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

Conversation

josharagon
Copy link

@josharagon josharagon commented Sep 10, 2020

Copy link
Collaborator

@damwhit damwhit left a comment

Choose a reason for hiding this comment

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

@josharagon nice work getting things working! I think that you can stand to improve most in code style. I would try to find good examples of code in mdn and make sure that your white space and indentation match

'five','six','seven','eight','nine', 'ten']

for (var i = numberOfFrogs; i > 0; --i) {
console.log(`${numberWords[i]} speckled frogs sat on a log
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe the rhyme changes based on the number of frogs left. How would you account for that?



for (var i=1; i < 101; i++){
if (i % 15 == 0) console.log("FizzBuzz");
Copy link
Collaborator

Choose a reason for hiding this comment

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

prefer 2 space indents

@@ -16,11 +16,32 @@ class Burrito {
this.base = base;
this.toppings = toppings;
}


addTopping(topping){
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would check indentation matches with your example classes

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.

None yet

2 participants