Elisabeth Robson
Elisabeth Robson
Notice that we define index to be undefined at the top of the function. Then we loop through all the scores. If a given score is a high score, then...
Hi, note that in the HTML, the row marked Truth or Consequences is actually 2 rows. You'll see that the first td (the city name) spans 2 rows. So using...
Hi, I just ran the code from the book and it works fine, so you must have a bug somewhere! Use the console to help track it down. Glad you...
Oh good! Yes, sometimes the browser will cache the JavaScript. If you shift-reload, that can help.
It's here: https://github.com/bethrobson/Head-First-JavaScript-Programming/tree/master/chapter8
You're spelling "length" wrong in: if (guess === null || guess.lenght !== 2) So your code won't run properly. On Thu, Dec 6, 2018 at 9:14 AM juwie5 wrote: >...
Jonathan, there's nothing wrong with using tables - they are a valid way to display data. Flex works great especially if you need flexibility in cell sizing or row sizing,...
You're missing a "this" in front of "ships", it should be "this.ships".
Hi there. Did you try writing down the value of all the variables for each function call? That's the easiest way to figure it out. Also remember clunkCounter is a...
For size = 3: facky = 1 clunkCounter = 0 while loop: facky = 3 size = 2 facky = 6 size = 1 end while loop call clunk(6) num...