
Explore JavaScript fundamentals like syntax, variables, objects, and functions while learning about ajax and local storage, and tackle common web development problems with modern JavaScript tricks.
Learn the basics of JavaScript by embedding scripts with script tags, using document.getElementById to select elements, and updating text via innerHTML, with code placed in head, body, or external files.
Invoke a JavaScript function by name, wire it to a button click, and update page text with document.getElementById.
Explore outputting data with JavaScript using window.alert and document.write to display messages and add content to the document via innerText or innerHTML.
Learn to output data with JavaScript by changing DOM elements via getElementById and innerHTML, and log messages to the console using console.log in browser developer tools.
Learn how to name JavaScript variables with meaningful camel case identifiers, note that variables are case sensitive, avoid reserved words, and understand the assignment operator with basic examples.
Learn how to declare variables in JavaScript with var, assign values like banana to a fruit name, and understand why re-declaring the same variable keeps its original value.
Explore data types in JavaScript, focusing on numbers and strings, type conversion and concatenation when combining values. Learn to manipulate DOM elements with getElementById and innerHTML to display string data.
Explore the numbers data type in JavaScript, including whole numbers, decimals, and scientific notation, and introduce boolean values, true and false, for use in conditional statements.
Explore how undefined acts as a data type, distinguish it from an empty string, and view type checks and basic DOM updates in JavaScript.
Explore function declarations and function expressions in JavaScript, passing parameters, returning values, and invoking functions to update page content with results.
Explore function constructors and self-invoking functions in JavaScript, showing how to create functions with the new keyword, pass parameters, set inner values, and invoke them automatically.
Explore how functions are objects in JavaScript, with properties and methods you can access, and use the arguments object and its length to count parameters.
This lesson introduces objects in JavaScript using an object literal called person with properties like first name, last name, age, eye color green, and a property used as a method.
Create object methods by storing functions as properties and invoking them to return values like full name; explore using this, and distinguish no from undefined in JavaScript.
Explore the difference between undefined and null in JavaScript, noting that undefined is a type and null is an object, and use undefined when declaring variables to be assigned later.
Learn how scope in JavaScript controls accessibility between local variables inside functions and global variables accessible across the script, illustrated by a local greeting versus a global greeting.
Discover how assigning to an undeclared variable creates a global variable with global scope, and compare it to local variables whose lifetime ends when the function finishes.
Explore JavaScript conditionals by using if and else statements to test age against 18, executing code that writes whether someone qualifies for driving.
Explore conditional statements in JavaScript, learning else if and switch constructs, how to evaluate conditions, and the difference between loose and strict equality, including the default case.
Explore how the default keyword works in switch statements, showing how a grade value matches cases or falls back to default when no match is found.
Explore JavaScript loops, including the for loop and for-in loop, to iterate code and object properties, with comparisons to while and do-while constructs.
Explain while loops that run code while a condition is true and increment a count until ten, and introduce do while loops that execute first then check the condition.
Explore using and, or, and not in JavaScript to form conditional statements, and learn how the ternary operator assigns values based on a condition.
Explore how JavaScript handles comparisons across different types, including implicit type coercion, NaN, and boolean results, and learn how 32-bit bitwise operators operate on numeric operands.
learn how to create arrays in JavaScript, assign string values like banana, orange, and strawberry, and access elements by index starting at zero using bracket notation.
Learn to manipulate arrays in JavaScript using the length property, the sort and reverse methods, and how to add new array elements.
Use push to add new values to a fruits array and loop through it with a for loop to render an ordered list on the page.
Learn to create date objects in JavaScript with constructors: new Date(), new Date(milliseconds), new Date(date string), and new Date(year, month, day, hour, minute, second, millisecond). Epoch starts at 1970-01-01.
Learn date methods in JavaScript to extract year and time, using get full year and get time for milliseconds since January 1, 1970, and set full year with zero-based months.
Learn to display JavaScript date objects using toUTCString, toDateString, and toString, with getFullYear for year values. Compare readable formats like toDateString with UTC representations for day, month, and year.
Learn JavaScript arithmetic operators, including plus, minus, asterisk, and slash, and see how operands produce results in simple variable examples.
Explore JavaScript arithmetic by mastering the four operators: addition, subtraction, multiplication (asterisk), and division (slash). See practical demonstrations of 12 times 12 equals 144 and division results.
Learn how the plus operator concatenates strings in JavaScript, using plus and plus-equals to join text. See how numbers become strings when combined with text.
Compare the type of operator and the instance of operator to identify data types in JavaScript, including strings, numbers, booleans, objects, arrays, and functions with practical examples.
Explore JavaScript string handling by measuring length with the length property and safely using special characters with escape sequences, quotes, and concatenation.
Learn to keep code lines within a single line by breaking long statements at operators, and use backslashes only to break strings.
Explore how indexOf and lastIndexOf locate the first and last occurrences in strings, and how substring extracts parts using start and end indices.
Explore the replace method to swap text using a regular expression and update the page content, then use uppercase and lowercase methods to transform strings.
demonstrate using the concat method to join two strings in JavaScript, as an alternative to the plus operator, by combining text one and text two with a space.
Explore how to use the Math object in JavaScript to find the min and max of a list of numbers and to generate a random number between 0 and 1.
Discover rounding in JavaScript with Math.ceil to round up and Math.floor to round down, plus using Math.random multiplied by 11 and then floored to produce whole numbers.
Explore the window object, opening and closing windows, checking status, and displaying the screen width with the screen width property, plus notes on height, color depth, and pixel depth.
Learn to use the Screen object to obtain your screen height and the available width. Update a page element with these values and account for interface elements like the taskbar.
Explore how to determine available screen height and color depth using the color property, showing a monitor with 720-pixel height and a 24-bit color depth that yields 16 million colors.
Explore pixel depth, or color depth, and how it limits monitor colors. Learn that the browser reports a 24-bit depth and its relation to the window object.
Learn to use regular expressions to search strings for patterns, locate matches, and apply data formatting with regex, including case-insensitive and global modifiers.
Demonstrates using regular expressions to split text with multiple patterns and to extract a subdomain from a url, showcasing split and substring techniques in JavaScript.
Learn how to use event listeners and event handlers in JavaScript to respond to actions, like clicks, by attaching functions to elements and exploring bubbling, capturing, and multiple event handlers.
Learn how to attach multiple event handlers to a single element using separate event listeners for click, mouseover, and mouseout, and update a paragraph's content accordingly.
Attach a resize event to the window to update a paragraph with a random number; remove the listener with removeEventListener and remove the mouse move handler on a div.
Use on click and on load event listeners to update the document object model, such as changing a paragraph text on click and signaling when an image loads.
See how onchange fires when an element's value changes, triggering a function that converts input to uppercase, and how keyup fires when a key is released to uppercase the input.
Explore onblur and onfocus events in JavaScript, wiring input elements to trigger focus and blur handlers, show alerts, and control event capture versus bubbling.
Learn to locate elements with JavaScript using getElementById and getElementsByTagName, access node lists, run a for loop, and change color and background color in a div.
Learn to locate elements by class name using the document object model in JavaScript, access them as a node list, and change the second paragraph’s background color on click.
Learn to insert items into an ordered list with the before method. Create a list node, a text node, and a new item, then insert before the first child.
Explore how to use the setAttribute method to modify element attributes such as src, width, height, and value, and update innerHTML and style with JavaScript.
Demonstrate how to manipulate element styles with JavaScript by selecting elements by id and changing properties like color and visibility using onclick events and inline scripts.
Explore how the textContent property reads and sets the textual content of a specified DOM node and all its descendants, demonstrated with a button and a paragraph in JavaScript.
Create new elements and text nodes with the DOM, then append them and remove them using appendChild and removeChild. Manipulate paragraphs and lists by id and respond to clicks.
Explore adding, removing, and replacing list items in the DOM with JavaScript, using appendChild, replaceChild, createElement, and createTextNode via on click handlers.
Learn how to create and read cookies with JavaScript by using document.cookie, setting name-value pairs, and retrieving cookies.
Learn how to create and modify cookies in JavaScript, including setting expiration with max-age. Delete cookies by setting max-age to zero and read document.cookie.
Explore ajax with javascript by creating an XMLHttpRequest to perform get and post requests, update page content asynchronously, and handle readyState and status 200 responses.
Master posting data with XMLHttpRequest by implementing POST requests, configuring content-type, and sending name/value pairs, while handling async behavior and responseText to display server responses.
learn how to use the on ready state change event with an XMLHttpRequest, implement a callback function, and build reusable ajax requests that update the page with server responses.
JavaScript is one of the most popular programming languages in the world. It can be run by all modern web browsers. It is downloaded alongside the HTML code of a webpage. JavaScript allows you to add functionality and interactivity to your websites.
We have designed this special JavaScript tutorial to ease your worries as it’s the best front end development tutorial you can get when it comes to real and quick results!
This course will teach you the all the parts of JavaScript programming and you don’t need any previous experience to start learning.
We will start with learning where to place JavaScript. We will take a look at placing JavaScript code in different places - inside HTML tag, inside of <script> tag and also in a separate files.
In the first part of our tutorial we'll cover very simple but important things like JavaScript variables, JavaScript objects, Functions and Arrays and then we'll get down to more complex topics like loops, logical operators, math objects, etc.
Each lesson contains interesting code examples which we'll launch in a browsers together and see the results of our coding!
We will end each section with analyzing of typical mistakes you guys will face with in your daily work with JavaScript.
We will analyze JavaScript code which contains errors and mistakes together and will fix all the issues making the code working. After that will launch those code examples and make sure we've fixed all the issues.
Yes! You’ll save a lot of time and will be able to avoid a number of headaches related to finding of appropriate solution for a huge number of daily tasks you’ll face with as a JavaScript developer.
If you guys are searching for a really valuable JavaScript course that will impact you with the full knowledge you need to create dynamic websites that will show you are an expert in front end development, look no further - just join the course and let's get started!