
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 74-lesson course built from CollegeWallah • 1.3 lakh views • 2 hours ago ...'s 9h 33m of YouTube playlist. 6 days at 90 minutes a day, with study notes and a quiz in every lesson. A 2-minute placement test skips what you already know.
Taught by CollegeWallah • 1.3 lakh views • 2 hours ago ... on YouTube. Videos play in YouTube's own player, so the creator keeps every view.
Execute JavaScript code directly in the Chrome DevTools console using alert() and console.log().
Install Visual Studio Code, create a project folder, and add index.html and first.js files with correct extensions.
Connect an external .js file to an HTML page using the <script src> tag so code persists after browser refresh.
Declare variables with let/const, store strings, numbers, booleans, null, undefined, and print values using console.log.
Differentiate let, const, and var; understand block scope with curly braces and why const prevents reassignment.
Create objects with key-value pairs, access properties via dot or bracket notation, and mutate nested values even on const objects.
Set up an HTML file linked to a JavaScript file and use single-line and multi-line comments to document code without affecting execution.
Apply addition, subtraction, multiplication, division, and modulus operators to variables and print calculated results.
Use the exponentiation operator for powers and unary increment/decrement operators (pre/post) to change variable values by one.
Compare values with ==, ===, !=, !==, >, <, >=, <= and understand the difference between loose and strict equality.
Combine multiple conditions using logical AND (&&), OR (||), and NOT (!) to produce a single boolean result.
Control program flow by writing if, else if, and else blocks that execute code based on boolean conditions.
Write compact conditional assignments with the ternary operator (condition ? val1 : val2) and explore MDN for official JavaScript references.
Use switch to match a single expression against multiple cases and solve practice problems grading scores and checking multiples.
Understand the purpose of loops in programming and learn the syntax and execution flow of the for loop with initialization, condition, and update statements.
Apply for loops to print a message multiple times and calculate the sum of numbers from 1 to n, demonstrating how loops automate repetitive tasks.
Identify infinite loops caused by conditions that never become false, understand their impact on memory and browser performance, and learn to avoid them.
Learn the syntax of the while loop, how it differs from the for loop by separating initialization and update, and trace its execution flow.
Use the for-of loop to iterate over iterable values like strings and arrays, automatically handling initialization, condition, and update.
Solve a practice problem to print even numbers from 0 to 100 using the modulo operator, then transition to string creation, properties, and template literals.
Learn to create strings with single, double quotes, and backticks; use the length property; access characters by index; and understand escape characters in template literals.
Manipulate strings using built-in methods to change case, remove whitespace, and extract substrings, noting that strings are immutable.
Combine strings with concat or + operator, replace first or all occurrences of a substring, and retrieve characters at specific indices using charAt.
Understand that strings cannot be mutated in place, requiring new string creation; solve a practice problem to generate a username from user input using string methods and properties.
Understand the purpose of arrays for storing collections of similar data, and learn to create arrays using square bracket syntax.
Access elements by index, use the length property, modify elements in place (mutability), and recognize arrays as special objects.
Iterate through arrays using for loops with the length property, for...of loops for values, and track indices when needed.
Modify array elements in place by tracking indices with a for loop or a manual index variable in a for...of loop.
Merge arrays with concat, extract subarrays with slice, and convert arrays to strings with toString without changing the original.
Use splice with start index, delete count, and new items to mutate arrays by removing, adding, or replacing elements at any position.
Apply shift to remove the first company and splice to replace Uber with Ola, then push to add Netflix at the end.
Understand what functions are in JavaScript, how they act as reusable code blocks, and the difference between functions and methods.
Learn to define a function using the function keyword, add logic inside curly braces, and invoke it multiple times to avoid code redundancy.
Distinguish between parameters (in definition) and arguments (in call), pass multiple inputs, and use them inside the function body.
Use the return keyword to send a value back from a function, store it in a variable, and understand that code after return is unreachable.
Recognize that function parameters act as local variables scoped only within the function block and cannot be accessed outside.
Write concise arrow functions assigned to variables, using implicit return for single expressions and block syntax for multiple statements.
Build a function that loops through a string, checks each character against vowel conditions, and returns the total vowel count.
Convert the vowel-counting logic into an arrow function to perform the same task with modern syntax.
Use the forEach array method with a callback function to iterate over elements, and understand functions as first-class citizens passed as arguments.
Apply the map method to create a new array by transforming each element (e.g., squaring or doubling) without mutating the original array.
Create a starter project with index.html, style.css, and script.js, and link them together using link and script tags.
Apply basic CSS properties like color, background-color, and text-decoration using internal and external stylesheets.
Differentiate between writing JavaScript directly in a script tag and linking an external script.js file using the src attribute.
Use the Elements and Console tabs in DevTools to inspect the live DOM tree, highlight elements, and view applied styles.
Explain the relationship between the Window object, Document object, and the DOM tree structure representing the HTML page.
Visualize the DOM as a tree of nodes (Element, Text, Comment) and understand the hierarchy from Window down to individual HTML tags.
Traverse the DOM using document.body, childNodes, and firstChild, and use console.dir to inspect object properties and methods.
Use getElementById, getElementsByClassName, and getElementsByTagName to select elements and handle null or empty HTMLCollection results.
Read and modify element content using tagName, innerText (visible text), textContent (includes hidden), and innerHTML (includes tags).
Update element content dynamically by assigning new strings or HTML markup to innerText and innerHTML properties.
Navigate the DOM tree using parentNode, childNodes, firstChild, lastChild, nextSibling, and previousSibling properties.
Solve a practice problem by creating an H2 element in HTML, selecting it with querySelector, and appending text using innerText concatenation.
Learn to retrieve and modify HTML element attribute values using getAttribute() and setAttribute() methods on DOM nodes.
Understand how to access and dynamically change inline CSS styles using the element.style property and camelCase property names.
Master the two-step process of creating elements with document.createElement() and inserting them into the DOM using append, prepend, before, and after methods.
Understand what events are in JavaScript, see common event types (mouse, keyboard, form, window), and learn where to find the full MDN event reference.
Select elements via querySelector and assign handler functions to properties like onclick and onmouseover in script.js, keeping HTML clean and learning that JS handlers override inline ones.
Access the event object (e) in handlers to inspect properties such as type, target, clientX, and clientY for detailed interaction data.
Create a toggle button that switches the page between dark and light themes by toggling CSS classes on the body element via a click event listener.
Understand the Tic Tac Toe game rules, winning patterns (horizontal, vertical, diagonal), and set up the project folder with index.html, style.css, and app.js files.
Style the game container, center the board, size and space the nine boxes using flexbox and viewport units, and apply visual polish (colors, shadows, fonts, border-radius) to buttons and the reset button.
Define the eight winning index triplets as a 2D array, then loop through them on every click to extract the three box positions for each pattern.
For each pattern, read the innerText of the three boxes, verify none are empty, compare all three values; if equal, declare that symbol the winner and show a message container with the result.