Group Chat Week 3

This week, you have been working on some more complex features in JavaScript, which let us write code which looks more like “real” programming! We covered booleans, if/else conditions, loops, arrays, and objects.

As usual, we’ll go around in a circle, and you can talk about what’s been going on for the past week. In this circle’s exercises, we’ll be practicing all of this with some simple problems.

The person whose first name is third alphabetically should lead the discussion.

Week 3 Reflection | 20-30 minutes

Go through each member of the group, and answer the following questions:

  • What did you find the most challenging this week, or what did you not understand?

    • Can anyone else in the circle give an explanation based on their own understanding?
    • If not, make a message in the week-3 channel on the Discord, and Adam will answer it.
  • Did you start the homework already? How far did you get through it?

    • If you already finished it, then show off your work! Is your Mario program working!?

Group Exercise | 20-25 minutes

Go through each of the following code snippets one-by-one. Give yourselves 2 minutes to take a look at it, see if you can crack the answer by yourself, and then compare your answer with the others!

  • Why does this code give an error?
  • What output does this code give when we run the function runCode()?
  • How does this code work?
  • What will each of the throwPokeball() functions output in this code?
  • What would you write at the end of this code to get Pikachu to attack with Thunderbolt?

(Solutions here)

Attendance Form | 2 minutes

Once you’re done with this, please fill out this form to let us know that you were here.