-
Notifications
You must be signed in to change notification settings - Fork 112
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
Whales - Gaby Webb #106
base: main
Are you sure you want to change the base?
Whales - Gaby Webb #106
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.
Great job!
Everything looks really good!
Well done!
@@ -1,15 +1,205 @@ | |||
export const drawLetters = () => { | |||
// Implement this method for wave 1 | |||
const letterPool = [ |
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.
This was a really good way to make sure you had the proper distribution of letters.
Sometimes it really does make sense to go for something simple like this. It's kind of beautifully simple. 😃
}; | ||
|
||
for (let i = 0; i < wordsLen; i++) { | ||
let selectedWord = words[i]; |
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.
Since this is a variable inside a loop it can be const
you've made excellent use of const
everywhere else so I figured I'd point it out. 🙂
No description provided.