
Learn the basics of JavaScript, from data types and variables to DOM interactions and functions, through hands-on practice building an interactive input form and dynamic arrays.
Preview the project we'll build. Learn core JavaScript basics—arrays, objects, data types, and functions—plus debugging and using the included source code to create your own app.
Explore JavaScript basics and learn to use Chrome dev tools to inspect HTML, add JavaScript to pages, and view console output within the browser.
Learn how to add JavaScript to HTML pages using inline attributes, script tags, and external files, and use console.log to communicate from JavaScript to the browser when users click buttons.
Learn to use console.log and dev tools for debugging JavaScript, view outputs in the console, and add comments to explain and annotate your source code.
Learn how to use variables in JavaScript by storing strings, numbers, and booleans, checking types with typeof, and applying naming rules like camelCase and valid variable names.
Explore JavaScript data types, including strings and numbers, and distinguish not defined from undefined, plus null. See how declaring and assigning variables changes their values and types.
Explore built-in JavaScript interactions with alerts and prompts, write to the document, and manipulate the DOM via getElementById, innerHTML, and innerText.
Write a JavaScript file that prompts for a name and shows a welcome message on the page. Learn variable declaration, prompt usage, selecting an element by id, and string concatenation.
Explore JavaScript operators, including assignment, arithmetic, modulus, and string concatenation, with practical examples using variables like a. Learn increments, decrements, and how the console evaluates expressions.
Explore JavaScript conditional operators by comparing values with equality, relational, and logical operators; learn how booleans and type-aware comparisons affect true/false results, paving the way to conditionals and functions.
Explore how JavaScript functions boost control over code by wrapping logic, passing arguments, and returning values, with practical examples using alerts, prompts, and on click events.
Explore advanced functions in javascript, including type checks for strings, early returns, anonymous functions, and understanding global versus local scope.
Explore how to use conditionals in JavaScript to control program flow with if and else statements, wire prompts and questions, and handle various input values.
Learn to get input values in JavaScript by creating a text input with an id, sending its value to a function, and displaying it in the output.
Explore the switch statement in JavaScript, using cases, breaks, and a default to evaluate an expression, wrap it in a function, and return the result.
Learn to build a simple input-and-button flow that sends user input to a function, retrieves canned responses from the server, and displays the matched reply or a default message.
Explore how for loops in JavaScript work with numbers, building output and preventing infinite loops by defining start, end, and numeric conversion with Number.
Explore for, while, and do-while loops in JavaScript, set starting points and increments, prevent infinite loops, and use break to exit when conditions like a > 20 occur.
Discover how JavaScript arrays hold multiple values under one variable, access by index and length, and use push, pop, shift, unshift, splice, sort, and compare to objects.
This lesson demonstrates JavaScript objects containing name-value pairs, accessing data by property names, and adding or updating properties—like capital, population, and dynamic costs—using dot or bracket notation.
Learn to use the JavaScript math object to generate random numbers and control rounding with math floor, math ceiling, and math round, producing 0–99 or 1–100 results with math random.
Learn to build a dynamic canned response system in JavaScript by creating a random item picker from an array, with a function to add new responses and update the array.
Loop through a question-word array to check if input appears in the string using indexOf and a for-in loop, then drive a conditional response with a switch statement.
Explore creating a canned response system in JavaScript, using a switch statement to answer how, when, what, who, where, and why with default replies in a web app.
Explore the differences between for...in and for...of loops, and learn to iterate through arrays, strings, function arguments, and object properties.
Learn three equivalent ways to create arrays in JavaScript—square brackets, the new array constructor, and the array keyword—then use the length property, indexing, and loops like for and forEach.
Explore JavaScript closures by contrasting global and function scope, and learn how inner functions remember and access outer variables even after the outer function returns.
Build dynamic JavaScript image galleries with next and previous indicators, generating images and galleries via a reusable function, and add them into the page using a class-based output container.
Compare XMLHttpRequest and fetch to retrieve JSON data from local and remote sources, parse responses as JSON, and output results to the page and console.
Learn JavaScript closures by building an outer function that accepts a starting value, returns an inner function to keep and update that value, with loops and page output.
Explore what you can do with JavaScript
Make your web pages interactive, use JavaScript to apply logic and create amazing things online.
JavaScript is the language to use for creative and interactive content online.
Within the course explore how JavaScript can be used within web design to add interaction. JavaScript programming is a great skill to develop and learn. Explore the fundamentals you need to build JavaScript applications and create web interactions.
Within the course we cover
Learn the JavaScript concepts used for web applications, user interfaces and how dynamic webpages can be created.
Taught by an instructor with over 18 years of real world web development experience. I'm here to help you learn JavaScript and ready to answer any questions you may have.