-
Notifications
You must be signed in to change notification settings - Fork 207
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
Sam Mistele #194
base: main
Are you sure you want to change the base?
Sam Mistele #194
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.
@SamusMist - Hi Sam, I just had a chance to go over your pre-work and you are officially Turing ready
! I added some comments/questions to a few sections for areas to work on or things to keep in mind before starting Mod 1. Keep up the hard work moving forward and let me know if you have any questions.
|
||
- [x] Complete the [DTR Guiding Questions](https://gist.github.com/ericweissman/c56f3a98cdce761808c21d498a52f5c6) | ||
- [x] Add a link to your gist here: | ||
https://gist.github.com/SamusMist/ba9a9ea991b865bc76a1ee2619d2566f | ||
## All Done? How to Submit your M1 Prework |
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.
Nice work 👍🏽
console.log(i); | ||
} | ||
} | ||
} | ||
|
||
//calls the above function giving values to parameters. |
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.
Really thorough annotations - nice job!
// Print the last archEnemy to the console | ||
|
||
console.log(archEnemies[2]); |
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.
How would you print the last archEnemy
to the console if you didn't know the length of the array?
this.energyLevel = 1000; | ||
} | ||
gainPower(number) { | ||
this.powerLevel = this.powerLevel + number; |
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.
Excellent!
// ADD CODE | ||
}; | ||
changeProtein() { |
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.
The changeProtein
method should accept one argument - so that this.protein
is not always assigned a value of "pork"
.
|
||
addTopping() { |
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.
Same with the addTopping
method.
No description provided.