-
Notifications
You must be signed in to change notification settings - Fork 380
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
base: master
Are you sure you want to change the base?
Joshua Aragon #191
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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){ |
There was a problem hiding this comment.
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
This is my prework!
gear up: https://gist.github.com/josharagon/b6e33fca65875f6fdb747305bc96c1e3
technical: https://github.com/josharagon/frontend-mod-1-prework/