Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
The Complete Modern Javascript course for beginners 2024
Rating: 4.4 out of 5(102 ratings)
17,762 students

The Complete Modern Javascript course for beginners 2024

Learn Modern JavaScript from Scratch 2023 | From Basics to Advanced with Expert Instructor-led Course |Enroll Today!
Last updated 8/2024
English

What you'll learn

  • You will learn the basics of JavaScript programming, including how to write programs and statements.
  • You will learn the different keywords in JavaScript and how to use them effectively.
  • You will learn the different types of values in JavaScript, such as strings, numbers, and booleans.
  • You will learn how to declare and use variables in JavaScript, including the different types of variable scope.
  • You will learn the different data types in JavaScript and how to work with them effectively.
  • You will learn how to create and manipulate arrays in JavaScript.
  • You will learn how to create and manipulate strings in JavaScript.
  • You will learn the basics of working with numbers in JavaScript, including basic arithmetic operations.
  • You will learn the different types of operators in JavaScript and how to use them to perform different operations.
  • You will learn how to declare and call functions in JavaScript, including passing arguments and returning values.
  • You will learn how to create and manipulate objects in JavaScript, including object literals and constructor functions.
  • You will learn how to handle user interactions and events in JavaScript.
  • You will learn how to use boolean values and operators in JavaScript to make logical decisions.
  • You will learn how to use the switch statement in JavaScript to make decisions based on multiple conditions.
  • You will learn how to use loops in JavaScript to repeat a block of code.
  • You will learn how to use the break and continue keywords in JavaScript to control the flow of a loop.
  • You will learn how to use sets in JavaScript to store unique values.
  • You will learn how to use maps in JavaScript to store key-value pairs.
  • You will learn how to handle errors in JavaScript and how to use strict mode to enforce stricter rules.

Course content

1 section67 lectures17h 46m total length
  • 1.1 how to connect javascript with html10:21

    Learn how to connect a JavaScript file to an HTML page, using internal and external scripts, creating index.html and index.js, and testing with the browser console.

  • 1.2 javascript basic output9:40

    Explore the four main ways to output data in JavaScript: modify HTML with innerHTML via getElementById, write to the document, show alerts, and log to the console.

  • 1.3.1 Javascript progrms and statements part 117:48

    Learn how JavaScript programs are built from statements, variables, and operators, interact with the DOM, and respond to events, with a practical area calculation example.

  • 1.3.2 javascript programs and statements part 219:52

    Master JavaScript programs and statements by practicing let variables, expressions, semicolons, console.log outputs, conditional if-else, for loops, and mindful whitespace and line breaks.

  • 1.3.3 javascript programs and statements part 311:24

    Explore code blocks and control flow in JavaScript, including if else statements, nesting, and function calls, illustrated with examples of x comparisons and console logs.

  • 1.4 Javascript Keywords4:55

    Learn about JavaScript reserved keywords and why they have special meaning, such as var, if, else, while, for, function, true, false, undefined, and null, which cannot be used as names.

  • 1.5 javascript values7:20

    Explore fixed values, or literals, and variable values in JavaScript, including number literals, floating point numbers, boolean literals, and null literals. Learn variable declaration, assignment, and reassignment.

  • 1.6.1 variables in depth part 1 variable basics10:14

    Explore variables in JavaScript by declaring and initializing with var, assigning string, number, boolean, and object values, creating a person object, accessing properties, and performing basic arithmetic with console output.

  • 1.6.2 variables in depth part 2 identifiers5:40

    Master JavaScript identifiers by rules for letters, digits, underscores, and dollar signs; begin with a letter, underscore, or dollar sign, cannot start with a digit, camel case and snake case.

  • 1.6.3 variables in depth part 3 let keyword14:09

    Explain how the let keyword creates block scope and prevents redeclaration, contrasting with var. Also cover hoisting and initialization rules, and advise declaring at the top to avoid errors.

  • 1.6.4 variables in depth part 4 const keyword17:35

    Learn how to declare constants with the const keyword and why they cannot be reassigned or redeclared. Explore constant objects and arrays and understand their allowed modifications and scope.

  • 1.7 javascript data types38:44

    Master JavaScript data types, including dynamic typing and primitive types (number, string, boolean, null, undefined) and objects, with typeof, literals vs constructors, and dot and bracket access.

  • 1.8.1 javascript Arrays part 130:55

    Explore JavaScript arrays: create, access by index, modify items, and use push, pop, unshift, shift, length, and array.isArray to differentiate arrays from objects.

  • 1.8.2 javascript Arrays part 29:20

    Learn how to sort arrays in JavaScript using the sort method in place. Strings sort alphabetically by default, and numbers use a comparison function for ascending or descending order.

  • 1.8.3 javascript Arrays part 334:47

    Master JavaScript arrays by using built-in methods like forEach, map, filter, and reduce. Learn to search and inspect arrays with indexOf, lastIndexOf, includes, and keys.

  • 1.9.1 javascript strings part 119:43

    Explore JavaScript strings, including single quotes, double quotes, and template literals, with interpolation, concatenation, multi-line strings, and indexing.

  • 1.9.2 javascript strings part 210:38

    Explore escape characters in JavaScript strings. Learn to insert quotes, newlines, tabs, and backslashes for console and HTML with \n, \t, and \b.

  • 1.9.3 javascript strings part 316:13

    Explore strings in JavaScript by using the string constructor with the new keyword, and learn key methods such as length, toUpperCase, toLowerCase, valueOf, concat, indexOf, slice, substring, replace, and split.

  • 1.10.1 javascript numbers part 116:21

    Explore numbers in JavaScript, including integers and floating point values, decimals, scientific exponent notation, NaN and isNaN behavior, hex with 0x, and toFixed for precision.

  • 1.10.2 javascript numbers part 213:36

    Explore JavaScript number methods like toString, toExponential, toFixed, and toPrecision. Learn number conversion with Number, parseInt, and parseFloat, and compare number literals with Number objects via valueOf.

  • 1.11.1 javascript arithmetic operators9:43

    Explore JavaScript arithmetic operators, including addition, subtraction, multiplication, division, modulus, and increment/decrement, with practical examples of numbers and string concatenation using let and console.log.

  • 1.11.2 JavaScript Assignment Operators10:14

    Learn about the simple assignment operator and the addition, subtraction, multiplication, division, modulus, and exponentiation assignment operators with practical examples that show updating variables.

  • 1.11.3 javascript string operators10:24

    Master JavaScript string operators for concatenation, compound assignment, and comparison. Explore string length, indexing with brackets, and methods like to uppercase, to lowercase, substring, and index of.

  • 1.11.4 javascript comparison operators16:07

    Explore JavaScript comparison operators and how they return booleans by comparing values, including equality, inequality, strict equality, and the greater than or equal to operator.

  • 1.11.5 JavaScript Type Operators9:00

    Explore JavaScript type operators, including typeof to determine a value's data type and instance of to verify an object's constructor. See examples with number, string, boolean, and a person object.

  • 1.12.1 Functions in javascript part 19:30

    Learn how to define functions in JavaScript, call them with arguments, return values, and manage local variables, including default values, to build modular, reusable code.

  • 1.12.2 Functions in javascript part 210:33

    Explore JavaScript functions' parameters and arguments, including required, optional with defaults, and rest parameters, with practical examples of greet and sum functions.

  • 1.13.1 Objects Explained part 110:19

    Learn how JavaScript objects use properties and methods, accessed by dot notation, and see a car example with weight and color that can start or stop.

  • 1.13.2 Objects Explained part 213:00

    Learn how this refers to the owning object in global, function, method, constructor, and event listener contexts with real examples using window, a person object, and a button.

  • 1.14 Javascript event basics5:46

    Explore JavaScript events to build dynamic, interactive web pages by handling user input and browser actions, using event types, listeners, and callbacks to respond to clicks, hovers, and loads.

  • 1.15 javascript booleans10:31

    Explore booleans in JavaScript, covering true and false literals, the Boolean function, truthy and falsy values, and using them in conditions, comparisons, and boolean objects.

  • 1.16 conditional statements if,else and else if9:46

    Explore how conditional statements in JavaScript control code flow using if, else, and else if, understanding syntax, truthy and falsy values, and practical examples.

  • 1.17_JavaScript Switch Statement13:34

    Explore how the JavaScript switch statement evaluates an expression against multiple cases, using break to stop execution and a default for fallbacks.

  • 1.18 loops33:45

    Explore the essential JavaScript loops, including for, for in, for of, while, and do while, with syntax, examples, and practical tips for looping through arrays, objects, and strings.

  • 1.19 javascript break and continue19:57

    Explore how break and continue control loops in JavaScript: break terminates a loop, while continue skips the current iteration; learn about labels and labeled blocks for nested loops.

  • 1.20.1 javascript Sets part 137:54

    Explore JavaScript sets, an ES6 data type of unique values, learn creation, add, delete, has, clear, size, and iteration with forEach and for-of. Build union, intersection, and symmetric difference.

  • 1.20.2 javascript Sets part 29:19

    Learn how JavaScript sets remove duplicates from arrays and ensure uniqueness. Use spread operator, Array.from, and for-of loops to build unique arrays and string characters, and explore basic set operations.

  • 1.21.1 maps part 127:29

    Explore JavaScript maps, a built-in ES6 data structure for key-value pairs with any key type, preserving insertion order and offering set, get, has, and delete.

  • 1.21.2 maps part 229:48

    Learn to create and use maps in JavaScript, with string, object, function, and NaN keys; perform set, get, and size operations, and iterate with entries, keys, and values.

  • 1.21.3 maps part 315:04

    Learn how to clone and merge maps in JavaScript by using new Map(existingMap), the spread operator, and forEach to merge key-value pairs from multiple maps.

  • 1.22 Typeof25:00

    Explore the typeof operator in JavaScript to identify data types, distinguish primitive from complex types, and clarify undefined and null, including constructor properties.

  • 1.23 Type Convertion12:35

    Explore JavaScript type conversion, including implicit and explicit conversions, parsing strings to numbers with parseInt and parseFloat, and converting numbers and booleans to and from strings, including using toString.

  • 1.24.1 JavaScript Errors8:50

    Explore error handling in JavaScript with try, catch, throw, and finally to test, handle, and ensure code runs regardless of outcomes.

  • 1.25 scopes23:10

    Explore JavaScript scopes and variables, from block scope and function scope to global and automatically global variables. Learn how let, var, and const affect visibility across blocks and functions.

  • 1.26 Strict mode14:09

    Enable strict mode in JavaScript with the use strict directive to enforce stricter parsing, catch errors early, and disallow unsafe constructs like the with statement and duplicate parameter names.

  • 1.27.3 Functions in javascript part 311:25

    Explore nested functions and closures in JavaScript, including how outer and inner functions interact, how to return and invoke closures, and the use of private variables and callbacks.

  • 1.27.4 Functions in javascript part 424:24

    Explore arrow functions in JavaScript, compare them to regular functions, and learn about lexical this binding, implicit returns, and concise behavior in object methods and callbacks.

  • 1.28.1 Classes part 135:59

    Explore how JavaScript classes from ECMAScript 2015 define blueprints for objects, including constructors, instance fields and methods, and static fields and methods, with examples using a rectangle class.

  • 1.28.2 Classes part 223:13

    Explore JavaScript classes: static blocks and initialization of static and instance fields, static and instance methods, plus private fields and methods with hash syntax, and encapsulation practices.

  • 1.29.0 Introduction to object oriented programming2:30

    Explore object oriented programming in JavaScript, focusing on prototypal inheritance, classes and objects, encapsulation, inheritance, polymorphism, and abstraction to write maintainable, scalable code.

  • 1.29.1 why you need to learn oops , procedural vs oops programming9:19

    Discover why you need to learn object oriented programming and compare it with procedural programming, highlighting encapsulation, objects, classes, and methods for modular, reusable code.

  • 1.29.2 Encapsulation in object-oriented programming (OOP)11:19

    Explore encapsulation in object-oriented programming by building a bank account class with constructor, properties, and deposit and withdraw methods that guard balance and expose a safe interface.

  • 1.29.3 Abstraction in object-oriented programming7:41

    Explore abstraction in object oriented programming by exposing essential features and hiding details, using a bank account class with deposit and withdraw methods to manage balance and interest rate.

  • 1.29.4 Inheritence in object oriented programming19:47

    Learn inheritance in JavaScript by building a generic animal parent class and extending it for dogs and cats. Use prototype chaining, constructors, and getters to share name, color, and breed.

  • 1.29.5 Polymorphism in OOP14:00

    Explore polymorphism in JavaScript by demonstrating method overriding and method overloading through an animal and cat hierarchy, showing how subtypes customize behavior like speak.

  • 1.29.6 what is value types and reference types15:49

    Discover how value types and reference types are stored in memory in JavaScript, and how copying and passing by value versus reference affect variables, arrays, and functions.

  • 1.29.7 Enumerating Object properties14:23

    Enumerate object properties in JavaScript by using the for-in loop on object literals and class-based instances, accessing keys and values via dot and bracket notation, including prototype and constructor concepts.

  • 1.29.8 Practicing OOP26:53

    Explore object oriented programming in JavaScript by building shape, circle, and square classes with area methods, demonstrating inheritance, method overriding, and the super constructor.

  • 1.30.0 Document object model Overview1:52

    Explore the document object model, the dom tree of HTML elements, attributes, and text, and how JavaScript accesses and manipulates it to update content, styling, and respond to user interactions.

  • 1.30.1 Dom Methods and properties Part 116:29

    Explore how to access and modify the HTML DOM with JavaScript, using getElementById, getElementsByClassName, getElementsByTagName, querySelector, and querySelectorAll, and work with textContent and forEach, and attach event listeners.

  • 1.31.2 Dom Methods and properties Part 220:05

    Manipulate the dom with JavaScript by selecting elements, reading and setting inner HTML and text content, and dynamically creating, appending, and removing elements in the page.

  • 1.30.3 Dom Methods and properties Part 325:35

    Learn to dynamically modify css styles via the document object model using the style property, class name, and class list, and set attribute to update colors, font size, and tooltips.

  • 1.30.4 Dom Methods and properties part 410:05

    Explore how to respond to user actions using DOM events with addEventListener and onClick, demonstrating click and double-click handling to change the page background.

  • 1.30.5 Dom Methods and properties part 515:03

    Explore handling DOM events with JavaScript, adding event listeners for click, mouse enter, mouse leave, mouse down, mouse up, double click, and input events like blur, focus, copy, cut, paste, and select.

  • 1.30.6 Dom Methods and properties part 619:33

    Implement drag and drop in web pages using the JavaScript DOM events, creating draggable elements and a drop zone, and wiring dragstart, dragend, dragenter, dragover, dragleave, and drop handlers.

  • 1.30.7 Dom Methods and properties part 717:45

    Learn to handle window events (load, unload, resize, scroll) with addEventListener, update the DOM, and use console logs and alerts to respond to user actions.

  • 1.30.9 Dom Methods and properties part 98:40

    Explore how JavaScript handles media events for video and audio, including play, pause, time update, ended and volume change, with practical examples using a video element and control buttons.

Requirements

  • Basic knowledge of HTML and CSS: JavaScript is often used to enhance the interactivity and functionality of web pages, so having a basic understanding of HTML and CSS can be helpful.
  • A code editor: To practice writing and testing JavaScript code, you will need a code editor that can handle JavaScript syntax highlighting and auto-completion.
  • Motivation and perseverance: Learning a new programming language can be challenging, so having the motivation and perseverance to stick with it and practice regularly is essential.
  • Access to a modern web browser: JavaScript is primarily used to create dynamic web pages, so having access to a modern web browser, such as Google Chrome or Firefox, can be helpful for testing and debugging your code.

Description

Welcome to Scorpius Programming's course on JavaScript!

This comprehensive course is designed to teach you the fundamentals of JavaScript, one of the most widely used programming languages in the world. Whether you're a beginner or an experienced programmer, this course will provide you with a solid foundation in JavaScript and equip you with the skills and knowledge you need to create dynamic and interactive web pages.

Throughout the course, you'll learn about a wide range of topics, from connecting JavaScript with HTML to working with arrays and objects, loops, and functions. You'll also learn about JavaScript data types, operators, events, and error handling, as well as how to use sets and maps in JavaScript.

The course is structured in a logical and easy-to-follow manner, with each section building on the concepts and skills covered in the previous one. You'll start by learning the basics of JavaScript programming, including how to output data, use variables and data types, and write programs and statements. You'll then move on to more advanced topics, such as working with arrays and strings, using operators, and writing functions.

One of the highlights of the course is the section on objects, which provides a comprehensive overview of how to work with objects in JavaScript. You'll learn about object properties and methods, how to create and use objects, and how to work with object prototypes and inheritance.

The course also includes a section on JavaScript events, which is essential for creating dynamic and interactive web pages. You'll learn how to handle user events such as clicks, key presses, and form submissions, as well as how to use event listeners and handlers.

Throughout the course, you'll have ample opportunity to practice what you've learned through coding exercises and quizzes. You'll also have access to a variety of resources, including downloadable code examples, a glossary of JavaScript terms, and a discussion forum where you can ask questions and interact with other students.

By the end of this course, you'll have a solid understanding of the fundamentals of JavaScript programming and be equipped with the skills and knowledge you need to create dynamic and interactive web pages. Whether you're interested in front-end web development, back-end scripting, or desktop application development, the skills you'll learn in this course will be invaluable.

So what are you waiting for? Enroll today and start your journey toward mastering JavaScript!

Who this course is for:

  • Beginners who are new to programming and want to learn the fundamentals of JavaScript.
  • Web developers who want to enhance their front-end development skills and create dynamic and interactive web pages using JavaScript.
  • Back-end developers who want to add client-side scripting capabilities to their web applications.
  • Students or professionals who want to learn JavaScript as a prerequisite for more advanced topics, such as React or Angular.
  • Anyone who wants to learn a versatile and widely used programming language that can be applied in a variety of contexts, including web development, server-side scripting, and desktop applications.