An overview of JavaScript as a programming language used for creating dynamic and interactive web content. Covers its purpose, history, and where it runs in the browser.
Focuses on the structure and rules of writing JavaScript code, including how to produce output using methods like logging to the console or displaying content on the page.
Explains how to store data using var
, let
, and const
, and discusses the differences in scope, mutability, and usage.
Covers primitive and non-primitive data types, and how to convert between them explicitly or implicitly during operations.
Introduces different operators such as arithmetic, assignment, comparison, logical, and others used to perform operations on values.
Teaches how to use conditional logic with if
, else
, else if
, switch
, and ternary operators to control program flow.
A review of all Week 1 topics with hands-on exercises to reinforce syntax, variables, data types, and control structures.
Explains object creation, properties, methods, and the basics of JSON (JavaScript Object Notation) for data structure and exchange.
Introduces loop structures (for
, while
, do...while
, and for...of
) used to repeat code for processing arrays and other data.
Teaches how to define and invoke reusable blocks of code called functions, including parameter handling and return values.
Introduces modern syntax for concise function writing (arrow functions) and explains how functions can be passed as arguments (callbacks).
Applies functions, operators, and input/output logic to build a simple functional calculator.
Explains the difference between synchronous (blocking) and asynchronous (non-blocking) code execution and their impact on user experience.
Deep dive into asynchronous callbacks used to handle events or delayed operations like data fetching.
Introduces Promises as a modern way to handle asynchronous operations, avoiding callback nesting.
Covers async
and await
syntax for writing cleaner asynchronous code and handling Promise results more readably.
Explains how to use the Fetch API to make HTTP requests to servers and work with responses and JSON data.
Teaches how to access user input from form elements using JavaScript.
Covers techniques for checking form input for correctness, such as ensuring required fields or proper formats.
Focuses on handling events like submit
, change
, and input
to control how form data is processed.
Uses forms, events, and validation logic to simulate a user login form with feedback and checks.
Explains how to store form submissions in browser storage like localStorage
or sessionStorage
.
Details the use of sessionStorage
for temporary data, and cookies for lightweight, persistent client-side data.
Introduces the four basic data operations: Create, Read, Update, Delete, and how they apply in JavaScript applications.
Covers array methods and logic to manipulate and query data sets efficiently.