Week 5: JavaScript Fundamentals
Week 5: JavaScript Fundamentals
Learning Objectives: By the end of this week, you will understand JavaScript variables, data types, functions, conditionals, arrays, objects, and essential array methods like map, filter, and forEach.
Sessions
Variables, data types, operators, functions, and conditionals
Arrays, loops, forEach/map/filter, objects, and arrays of objects
Topics Covered
- The browser console and connecting JS to HTML
- Variables (const, let) and data types
- Template literals and the typeof operator
- Arithmetic, comparison, and logical operators
- Functions (declarations, expressions, arrow functions)
- Conditionals (if/else, ternary)
- Arrays and array methods (push, pop, includes)
- Loops (for, for…of)
- forEach, map, and filter
- Objects and arrays of objects