Break
๐จโ๐ผ Great work! You've learned the fundamentals of working with code.
You learned:
- ๐จ๏ธ console.log() prints values to the terminal so you can see results
- ๐ Running code with
node index.tsexecutes your TypeScript file - ๐ String expressions create text values using quotes
- ๐ Escape sequences include special characters in strings like
\nfor newlines - โ String concatenation joins strings together with
+ - ๐ข Number expressions and arithmetic operators (
+,-,*,/) - ๐ฌ Template literals use backticks and
${expression}for interpolation
๐ฆ Key insight: Everything in programming is about expressions that produce
values. Understanding this mental model will help you as you learn more
complex concepts.
Next up: Variables - how to store and reuse values!
Test Your Knowledge
Retrieval practice helps solidify learning by actively recalling information. Use this prompt with your AI assistant to quiz yourself on what you've learned.
Please quiz me on exercise 1 using the epicshop MCP server. Call the get_quiz_instructions tool with exerciseNumber "1" to get the quiz instructions, then quiz me one question at a time.