Search found 14 matches

by JeremyMoritz
Tue Jan 08, 2019 9:34 pm
Forum: Help
Topic: Chapter 6 drills. Drill #7
Replies: 2
Views: 73

Re: Chapter 6 drills. Drill #7

The full IF condition means "if there is NO person2Age, AND there IS a person1Age... OR ... if person1Age is GREATER THAN person2Age..."
by JeremyMoritz
Mon Jan 07, 2019 6:17 pm
Forum: Help
Topic: help with hangman game
Replies: 7
Views: 143

Re: help with hangman game

If you don't indent your code properly, you'll run into lots of little errors like this and you won't know why. Start by always indenting your code consistently. If you had done so this time, it would've been obvious that your return statement was outside of any function. A return statement belongs ...
by JeremyMoritz
Mon Jan 07, 2019 4:20 pm
Forum: Help
Topic: help with hangman game
Replies: 7
Views: 143

Re: help with hangman game

I don't mind helping at all. If you have this question, maybe others do too. First off, keep in mind that your code was only partially finished, so i would expect behavior like what you described (not the syntax error, but the repetition stuff). Please copy all of your code, and paste it in a reply....
by JeremyMoritz
Sat Jan 05, 2019 11:27 pm
Forum: Help
Topic: help with hangman game
Replies: 7
Views: 143

Re: help with hangman game

Hi @jturq ! First off, thank you for working through my book! I'm proud of you for getting all the way to the last chapter! To answer your later question, i did code some parts of my website (others were from wordpress) and all of the projects in my book, but i didn't code this forum. I found an onl...
by JeremyMoritz
Sat Jan 05, 2019 6:34 am
Forum: Help
Topic: help with hangman game
Replies: 7
Views: 143

Re: help with hangman game

I would be happy to help you out with this. Can you please copy and paste the code that you are trying to run?
by JeremyMoritz
Wed Oct 17, 2018 12:48 am
Forum: General
Topic: High school credit
Replies: 2
Views: 421

Re: High school credit

Thanks for your question! I believe the homeschooling parents we've talked to usually count it as a half-credit and call it "Computer Programming" or "Intro to Computer Programming".

Hope this helps!
by JeremyMoritz
Wed Sep 19, 2018 10:31 pm
Forum: Help
Topic: ch 4 - declaring functions
Replies: 4
Views: 564

Re: ch 4 - declaring functions

If you can create a random number between zero and one, start with that. If you multiply that number by 100, you'll end up with a random number between z and 100: let randNumZeroToOne = Math.random(); let randNumZeroToHundred = randNumZeroToOne * 100; console.log(randNumZeroToHundred); Notice that t...
by JeremyMoritz
Tue Sep 18, 2018 9:20 pm
Forum: Help
Topic: ch 4 - declaring functions
Replies: 4
Views: 564

Re: ch 4 - declaring functions

I am happy to assist. Can you please be a more specific about what it is that you're asking? Is there a line in particular that you find confusing? Also, approximately how old are you (this helps me to tailor my answer toward your age range)? To get you started, answer this question: Can you create ...
by JeremyMoritz
Fri Jun 15, 2018 12:13 pm
Forum: Help
Topic: purpose of console.log
Replies: 1
Views: 470

Re: purpose of console.log

Remember that console.log() is a function. Therefore, you could put logic inside it. If you put a comment // 6 + 5 You'll only see that. But if you use a function console.log(6+5); It will log the result to the console. The iDoNot() function you created here doesn't expect any arguments, so passing ...
by JeremyMoritz
Fri Jun 15, 2018 12:07 pm
Forum: Help
Topic: what is the purpose of closing all programs?
Replies: 1
Views: 309

Re: what is the purpose of closing all programs?

This is merely to help make sure that you know how to get back to this point from a empty desktop screen. It's important that all students who go through this book know how to open the console on their own. Otherwise one could get lost the next time his/her computer is restarted.