The knock-knock game has much hidden knowledge in it! What can you learn from the patterns in script.js?
These get harder as you go.
- What are the blue parts (light) | yellow parts (dark) called?
- What is true about ALMOST ALL of these (ends)?
- What are the black parts (light) | blue-gray parts (dark) called?
- what is true of all of these the first time you see them?
- What do you call a complete line of code in Javascript?
- What is true about SOME of these: brown parts (light) | salmon parts (dark)?
- What do the parentheses "mean"? What do they "do"?
- What do the green parts "mean"? What do they "do"?
- What is the difference between = and == ?
- What happens if you click the minus sign (or down arrows) by "function"?
- What other patterns do you see?