
Explore JavaScript from basics to advanced topics, including variables, control flow, arrays, objects, recursion, closures, and key HTML5 and DOM features for client-side web development.
Explore how web browsers send HTTP requests, fetch static files or server-side code, and render pages with HTML, CSS, and JavaScript, including client-side and Node.js possibilities.
Explain what JavaScript is, its origins, and why it powers interactive web pages and beyond as a versatile, standards-based language used across browsers, servers, and applications.
Explore the evolution of HTML5 and CSS3, and learn how modern JavaScript APIs enable offline apps, geolocation, local storage, and graceful feature fallbacks across browsers.
Learn to choose fast, capable text editors or IDEs with multi-language support, tabbed editing, line numbering, color coding, autocomplete, and understand local web servers for testing.
Clarify that programming converts input to binary data, processes it, and outputs results; compare compiler, interpreter, and byte code paths, with JavaScript running in the browser.
Learn to add javascript to a web page with script tags, either inline or via external .js files, and organize for reuse and caching across many pages.
Discover when JavaScript runs, how multiple script blocks interact, and the importance of loading dependencies in the correct order by placing scripts at the bottom of the page.
Make websites accessible across devices and browsers by understanding the content, stylesheets, and javascript layers, testing across devices, and applying progressive enhancement.
Avoid javascript when another technology can handle the task, such as simple content or css animations, and rely on html5 validation plus server-side validation.
Explore JavaScript number types, including integers and floating point numbers, and use operators plus, minus, multiply, divide, and modulo. Learn operator precedence and how parentheses control evaluation with console examples.
Explore javascript strings, including quoting, escaping with backslashes, and concatenation with the plus operator. Learn to represent special characters like carriage return and build strings in the console.
Explore JavaScript boolean values, true and false, and how loose typing affects comparisons for numbers and strings, including === vs ==, and the use of && and || in logic.
Explore type juggling in JavaScript by converting between numbers, strings, and booleans using number and string objects, and tricks like minus 0, multiply by 1, and double negation.
Discover how JavaScript uses statements and semicolons to control execution, illustrated by the alert example. End each statement with a semicolon to prevent errors and reduce debugging time.
Explore variables in JavaScript, learn to declare with var, name meaningfully, and update values with operations like lives = lives - 1, while noting case sensitivity.
Explore how browsers handle output in JavaScript, use console.log for debugging, and update the page with alert boxes and DOM methods like document.write and getElementById.
Discover how comments improve readability, explanation, and collaboration in JavaScript, using // for single-line and /* */ for multi-line notes, ensuring future you and other developers understand code.
Master JavaScript error handling by distinguishing programming mistakes from runtime problems, validating user input with if statements, and using try-catch-finally to manage errors and display messages.
Explore JavaScript statements and keywords, including reserved words and naming rules, and understand how statements execute one at a time, and why var or true cannot be used.
Explore the switch statement to test a single variable against multiple cases, including a default, and learn why break prevents fall through in JavaScript.
Explore how for loops in JavaScript simplify repeating tasks, from outputting the numbers 1 to 100 to calculating factorials, using a counter and loop conditions for efficient output.
Pad a number to eight digits using while and do-while loops with string length checks and leading zeros. Compare loop variants and learn a substring technique to ensure eight-character results.
Learn how functions encapsulate reusable code in JavaScript by turning factorial logic into a callable function, handling arguments, return, and basic error checks.
Discover how variable scope works in JavaScript by comparing local function variables to global ones and observing how same names can affect the global state.
Learn how arrays store many values with zero-based indexing and the length property, enabling loops to compute the mean and explore mode and median.
Explore how JavaScript arrays grow dynamically and learn to add and remove items with push, pop, unshift, and shift, plus concat and the delete keyword.
Explore array methods such as reverse, slice, splice, and join. Learn how slice returns a new array, splice mutates the original, and negative indices reveal end-of-array flexibility.
Learn how the sort method sorts arrays in JavaScript, including default string conversion, using a comparator with A and B to sort high-to-low or low-to-high, and using anonymous functions.
Sort an array of strings alphabetically using the sort method; then sort by length with a comparator that uses a and b and returns a length-based comparison.
Explore the fundamentals of object oriented programming with JavaScript objects, properties, and methods, and see how encapsulation, inheritance, abstraction, and polymorphism shape interface interactions.
Explore creating and using simple JavaScript objects and object literals, including properties and methods, dot and bracket notation, and cloning objects to manage multiple car instances.
Learn to create multiple JavaScript objects from a single constructor, using this to initialize make, model, and color with defaults, and the new keyword to instantiate independent cars.
Discover prototypal inheritance in JavaScript by seeing how a shared display method is defined on a prototype and inherited by car objects.
Explore the built-in Math object in JavaScript, covering Pi, constants, rounding, ceiling, floor, abs, power, square root, min, max, and random numbers. It includes trigonometry in radians and degrees-to-radians conversion.
Explore regular expressions in JavaScript, learn how to describe string patterns, validate emails, and perform search, replace, and split tasks with practical examples.
Explore how bitwise operators work in JavaScript, including and, or, xor, and not, with shifting examples that illustrate fast multiplication and division by two.
Explore the JavaScript date object, its four initialization methods, set/get operations, UTC and local formats, time zones, and helpful methods like parse, UTC, toLocaleString, and toString.
Learn how to perform JavaScript date arithmetic: compute days between now and January 1, 2020 by subtracting dates and converting milliseconds to days, then add seven days and format.
Explore how anonymous self-executing functions run immediately to isolate scope, preventing global conflicts when using libraries, a mechanism empowered by closures.
Explore closures in JavaScript, showing how a nested function retains a local message variable after its outer function ends, via an anonymous function.
Learn to build modular JavaScript libraries with the revealing module pattern, exposing a single global lib object and a public API while keeping internals private.
Discover how to design flexible JavaScript functions with optional arguments, up to five parameters, defaults, and object-literal patterns for clearer, more maintainable code.
Explore recursion as a powerful technique that lets a function call itself to process nested arrays in JavaScript, using a recurse method and a return stack, noting cyclical references.
Explore how to pass functions as arguments in JavaScript, enhance recursion with customizable actions, and compute sums and averages by applying anonymous handlers to array elements.
Explore how JavaScript enables browser-based interactivity through browser APIs, including manipulating page elements, validating forms, and making server requests via Ajax.
Learn why browser sniffing is unreliable and adopt capability detection, using feature checks like XMLHttpRequest to implement cross-browser AJAX reliably.
Explore the window object, the core of the browser and JavaScript API, and learn how global variables and functions become window properties, enabling alerts, prompts, and window.open.
Explore the location object and window.location to pause and navigate urls, and examine protocol, host, port, path, search, and hash, with user confirmation before redirects.
In this training course, expert Infiniteskills teaches you the basics of programming with JavaScript, the worlds most used programming language. The tutorial is designed for the absolute beginner - no prior JavaScript programming experience is required in order to get the most out of this video training.
You will start with learning what programming is, and specifically, what JavaScript is, how it it used, and its limitations. You will discover variables and data types, and how to take input and create output. The course covers conditions, loops, arrays, sorting, functions, paramaters and debugging. You will even learn advanced concepts such as OOP, string manipulations, regular expressions and other programming patterns. Because JavaScript is so tightly integrated with browsers, you will also learn some HTML5, CSS, DOM (Document Object Model) programming, event handling and how it all works together!
By the conclusion of this JavaScript programming tutorial, you will have an in-depth grasp of the capability of JavaScript, and you will understand how to create and deploy solid JavaScript programs for your website projects. Working files are included to allow you to work alongside the author using the same files that references throughout the training course.
</p>