
Explore the basics of JavaScript through a complete course filled with practical examples. Build on fundamental core concepts with exercises, starter projects, and hands-on coding in your editor.
Learn about JavaScript what it is and what it can do. You will be introduced to the amazing world of JavaScript.
JavaScript is easy to get started with, basics of starting to program with JavaScript
Connect JavaScript into your webpage. External files and on page JavaScript using the script tags.
Start writing JavaScript it’s easy to get started with. You can start with just one line of code and make something happen.
Learn about the console and how you can detect errors in your code. Pass information from your code to your browser.
Comments in JavaScript are useful to track information within the code and note additional details within source code.
Learn about the most basic unit primitive data types Strings Numbers and Boolean
Variables allow you to contain data and then use and reuse those values also update the values as needed within your JavaScript code.
Get familiar with the different data types and how they work
Prompt lets you create an interaction with your web users. Connect JavaScript with web page visitors.
Explore JavaScript Arithmetic operators + - * / % modulus
Explore JavaScript Assignment operators = += -= *= /=
Explore JavaScript Comparison operators Strict equal ( === ) Not equal ( != ) Equal ( == )
Explore JavaScript Logical Operators Logical AND (&&) Logical OR (||) Logical NOT (!)
Exercise create a ToDo list from scratch. Using interaction from the web user generate status of a task and information that is output in the console.
Find out how arrays contain default values that can be used within your application get length and select an item from an array using its index value.
Learn that an array is an object, not a distinct data type, and use a built-in check to verify if a value is an array while inspecting item data types.
Exercise guess the index value game - minigame using prompt to guess the index value of an item in the array
See Arrays in action with ready to use functionality that lets you interact with your arrays.
Work with arrays and see the power of built in methods within JavaScript to manipulate and update array contents.
Access array information and check if values are contained within an array using Index.
Exercise Array updater : Use user input to update and find items contained with the array. Create a dynamic array updater.
JavaScript Nested array or Multidimensional Array. Store even more information into an array use a multidimensional array and retrieve values from a multidimensional array.
Getting data from JavaScript arrays. Use a loop to retrieve all the values from an array. Iterate through an array.
JavaScript Objects introduction on how to store lots of information in one variable.
Get data from a JavaScript Object and use it within your code.
JavaScript Objects see how to manipulate data and retrieve new values.
Learn how to retrieve JavaScript object data by looping through the contents of the object.
See how JavaScript Objects and JavaScript arrays can be combined for even more power with data.
Learn about the Document Object Model and what it can do. This is where JavaScript connects to your HTML page elements. The entire HTML page as nodes that can be manipulated using JavaScript.
See what you can do with the DOM. Using the DOM you can update elements without refreshing web pages and much more.
Learn to manipulate the dom with JavaScript by targeting elements with getElementById, updating their innerHTML, and rendering dynamic content like welcome messages in a div with id output.
See how to select elements and then update them all using JavaScript
innerHTML lets you update and change the HTML output of an element using JavaScript.
Connect with user input and get those values back into your JavaScript code. Getting values from input fields and then using those values within JavaScript.
Explore JavaScript conditional logic statements, mastering the ternary operator, if/else and switch constructs, with practical coin toss and magic eight ball exercises to render decisions in code.
Check for true or false and then do something depending on the result. Ternary operators are a quick and short format for conditional checks and to apply logic.
Check for true or false and then do something depending on the result. Ternary operators are a quick and short format for conditional checks and to apply logic.
If statements let you apply logic and execute a block of code depending on the result of that logic.
Get more options to your logic with Else
Use the JavaScript switch statement to check if a case is true and execute a block of code.
Use the JavaScript switch statement to check if a case is true and execute a block of code.
Just like tossing a coin to check for heads or tails logic is perfect for checking to see a result and taking an action on that result.
Exercise Magic Eight Ball : Get answer to your question with the magic eight ball. How it knows is what you are thinking is in the JavaScript.
A statement that is executed at least once and is re-executed each time the condition evaluates to true
While loops allow you to execute until a condition is no longer true
Exercise in code Cracking looping until you guess it
For loops are the most popular format for loops and used the most when coding JavaScript. Select the loop option that is best suited for your needs.
Nested Loops allow you to build more with looping. A loop within a loop looping the child within each parent value.
Stop the loop and continue with a loop allowing more control as to what gets output within the loop, applying logic and conditions.
Adding conditions to loops allows you to customize your output.
Pairing loops with arrays is a natural way to get all the information and iterate through an array. Power of loops is really valuable when it comes to arrays.
Just like with arrays objects hold lots of data and loops are ideal to get access to the data by iterating through data.
Exercise build a shopping list builder to add items into an array
Discover how JavaScript functions execute blocks of code, pass arguments, manage local and global scope, and enable reusable, self-invoking, and recursive patterns through hands-on exercises.
Functions are like mini programs allowing you to selectively execute blocks of code when needed. Learn how to declare functions and use them within your code.
Learn how functions can be used to return values and how local and global variables are used the variable scope.
Exercise - Create a random name generator using JavaScript Functions
Exercise - Build a JavaScript calculator where you can enter in values and either add subtract multiply or divide the user input values.
Learn how to use the latest JavaScript to pass no argument defaults values and also how to do it for older browsers
Exercise Code Cracking game - Guess the random code see how many times it take you to guess the code.
Functions don’t always need to have name and functions can also be variables that change value.
Functions can invoke themselves - recursive self-invoking functions can be used to loop code and more.
Exercise building a word guessing game using recursive functions
Exercise Improve on the Word guessing game by shuffling all the array items
Function scope review what is global what is local?
Exercise - extend your arrays by removing out duplicates using this code snippet.
Functions are really powerful and adding functions within functions can increase what can be done with your function.
Exercise building a shopping list from the user's input and adding it to the current list within the HTML page.
Using callbacks a function that is passed to another function as a parameter and the callback get executed inside that function
Exercise Callback calculator an improvement on the previous calculator built in an earlier lesson. Coding is about making things more efficient.
Exercise building a deck of cards and dealing those cards out to a selected number of players.
Learn how to handle the deck of cards and deal out the cards from an array
Learn to optimize a JavaScript card game by localizing variables within the start function, passing cards between functions, and minimizing global scope for cleaner, modular code.
Explore interactive content with JavaScript by connecting to the document object model, window and document objects, handling events, validation, drag and drop, image carousel, and a name-scramble game.
Explore the window, browser, and document objects to inspect the DOM, network loading, and page location, and learn to manipulate size, location, and events in JavaScript.
Windows setTimeout Method Calls a function or executes a code snippet after specified delay.
Get information about the page visitors Location including Longitude and Latitude
Selecting Elements can also be done by traversing through the DOM from the various levels within the Tree via JavaScript
Discover how the this keyword in JavaScript distinguishes clicked dom elements, pass the element to a function, and update innerHTML to reflect the interaction while exploring element properties.
Create interaction with web users using Event Handlers.
Create and handle an HTML form with first and last name inputs, use a click event and event target to extract values and display them in a wrapper.
Exercise building an image uri generator
Exercise building a web page image carousel
Exercise Learn how to have an input field only accept digits or only accept characters
Exercise Add form validation to your form
Exercise Drag and Drop text from one element into another
Exercise Build a game that shows random names that are scrambled and you need to guess which is the correct name.
Master dynamic web development with JavaScript by mastering DOM selection, traversal, and events to build interactive features like popups, accordions, voting systems, and dynamic shopping lists.
More options for element selection By Tag
More options for element selection By Class
Add click events to multiple elements
Use document.querySelector to select the first element matching a CSS selector, using id, class, and attribute selectors; practice with inputs, styling, and setting values.
Make a selection of multiple elements using QuerySelectorAll Exercise : build a dynamic element selector to copy elements from selector in the input field
Exercise : Build a popup message modal using JavaScript
Use JavaScript to select elements and manipulate classes
Exercise Build a web component to hide and show elements building an accordion style component.
Create and update a dynamic friends list with JavaScript by adding an input field and button, pushing new entries to an array, and rendering table rows with DOM methods.
Build a dynamic shopping list in JavaScript by capturing a new item and appending a new list item with a click.
Learn to use addEventListener to attach multiple events to one element, remove listeners, and swap images on hover while separating script from HTML.
Build and manage a dynamic friends list with JavaScript by creating an editable table, adding, deleting, and editing items via event listeners, data attributes, and array operations like splice.
Learn to build a dynamic, editable list with JavaScript by adding, editing, and removing items, updating the DOM, handling events, and reflecting changes in real time.
Explore how to open a new window with JavaScript using a trigger button, pass a URL, and customize size and position with window.open and close controls.
Learn how JavaScript treats strings, from primitives to string objects, access characters by index, measure length, and apply concatenation and string methods in interactive exercises.
Explore built-in string methods like toUpperCase, toLowerCase, indexOf, lastIndexOf, slice, and substring to transform, search, and slice text with JavaScript examples.
Explore the JavaScript math object, from Math.PI and Math.floor and Math.ceil to Math.abs, Math.sqrt, and Math.pow, and generate a random 1–100 number with Math.random.
Create dynamic color buttons with JavaScript, capture user guesses via on-click events, and compare the guess sequence to the solution, displaying clear feedback in the message area.
Learn to build a browser game in JavaScript by creating random pop-up computer targets, implementing hit scoring, timers, and smooth transitions, with bug fixes to prevent multiple clicks.
This course has everything you need to become a professional JavaScript developer!
With over 33 hours of training, quizzes and challenges, it's the most comprehensive JavaScript course available on Udemy!
Whether you want a career in front end or back end development - it's essential that you have a solid understanding of this versatile language!
Come learn the #1 programming language in the world in this fun and exciting course with Laurence Svekis - a web developer with 18 years experience who has followed Rob Percival's "learn by doing" style to create this amazing course.
Build 45 Games, Web Apps and Websites with JavaScript
You'll go from beginner to extremely high-level and your instructor will complete each project with you step by step on screen.
Inside the course, you'll build a Magic Eight Ball game, mini calculator, a Calorie Counter app, a geo-located Google Map, a functioning online store and much much more!
You'll learn how to:
Use logic statements to make decisions within your code
Save time writing the same thing over and over again with JavaScript Loops
Use JavaScript Functions to build mini programs to selectively execute code
Make your webpages comes to life with Interactive Content
Connect to HTML5 elements & newer API's
Make your code more efficient with Regex
Handle data and updating page content without page refreshes using JSON and AJAX
Build faster with the new ECMA6 version of JavaScript.
Gain a strong foundation in Javascript so you’ll be ready to move up to frameworks like Angular and Node.js
No JavaScript or web development experienced required. You'll get friendly support in the Q&A area and all the source code available for download.
This Offer Won't Last Forever
Go ahead and hit that "take this course" button to start learning the #1 programming language in the world!