Search found 9 matches

by JeremyMoritz
Wed Oct 17, 2018 12:48 am
Forum: General
Topic: High school credit
Replies: 2
Views: 151

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: 265

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: 265

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: 339

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: 217

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.
by JeremyMoritz
Fri Jun 15, 2018 12:04 pm
Forum: General
Topic: How many books are out?
Replies: 1
Views: 310

Re: How many books are out?

Yes, actually the JavaScript book will be released next month (July 3rd). I'm also working on a 2nd volume which will pick up where the JavaScript volume left off and feature HTML & CSS!
by JeremyMoritz
Tue May 15, 2018 7:01 pm
Forum: Help
Topic: Stuck on an error?
Replies: 2
Views: 495

Re: Stuck on an error?

Try putting that `french fries` variable in camelCase:

Code: Select all

let frenchFries = "yummy";
by JeremyMoritz
Tue May 15, 2018 6:57 pm
Forum: Help
Topic: Increment operators
Replies: 1
Views: 254

Re: Increment operators

Good observation, Kendall! You are exactly correct that the immediate return value of myVar++ is the value BEFORE it's been incremented, but the effect on the variable itself is to increment it by one. I didn't mention ++myVar because it is rarely needed in well-formed code. And good for you for loo...
by JeremyMoritz
Tue May 15, 2018 11:31 am
Forum: Help
Topic: Stuck on an error?
Replies: 2
Views: 495

Stuck on an error?

One of my readers sent me a message saying she had a persistent error message when using the `let` keyword to declare a variable in chapter 1. She accidentally assigned an `undefined` value to a new variable that was declared using the `let` keyword. This resulted in her inability to either fix the ...