JavaScript 2025

Learn JavaScript from Basics to Applications

Web Development5.0(97)6h 26m29 lectures11 sections

What you'll learn

  • Understand JavaScript basics and ways to write code
  • Use variables, data types and operators
  • Write conditional statements and loops
  • Create functions and functions with parameters
  • Work with one-dimensional and two-dimensional arrays
  • Handle errors using Try and Catch
  • Work with objects, object-oriented programming and inheritance
  • Interact with web pages through the DOM and BOM
  • Validate form fields
  • Work with web services, XML and JSON

About this course

This course teaches JavaScript from the basics up to building interactive web applications. You start with why JavaScript matters, how to use it and the ways to write code, then learn variables, data types and operators and build your first practical application. Next you move on to conditional statements such as If and Switch, loops such as For and Do While and nested loops, then creating functions and functions with parameters, and one-dimensional and two-dimensional arrays. Then you learn the types of errors and how to handle them with Try, Catch, Finally and Throw, along with objects, object-oriented programming and inheritance. In the practical part you work with the Browser Object Model, the Document Object Model, form validation and regular expressions, and you finish with web services and APIs, working with XML and JSON, and calling services using JavaScript. The course suits beginners in programming and anyone who wants to enter web development. You need no previous experience. Afterwards you will be able to write organized JavaScript code, interact with web pages and connect them to external services.

Expected outcomes

  • Write clean and efficient JavaScript code.
  • Create interactive web applications using JavaScript.
  • Master error handling and improve application performance.
  • Acquire programming skills to qualify as a JavaScript developer.
  • Complete your own software projects or for commercial purposes.

Learner reviews

These reviews are from learners who bought the content and completed at least 50% of it — there are no reviews from anyone who hasn't gone through the material.
5.0
★★★★★
97 reviews
5★
95
4★
0
3★
2
2★
0
1★
0
  • ★★★★★wafaa A.·منذ 1 شهرشاهد 100٪

    الكورس اكتر من ممتاز حقيقي ويستحق 10 نجوم مش خمسة انا استفدت جدا بجد شرح وافي وكافي

  • ★★★★★Baraa E.·منذ 3 شهرشاهد 52٪

    بسبب الكورس دة اتعرفت عن لغات البرمجة و مفاهيم البرمجة اكتر و طريقة الشرح بسيطة و حلوة فا بجد عاش

تم عرض كل التقييمات (2)

Course content

1

Introduction to JavaScript

3 lectures
  1. Why JavaScript?Explains why learn JavaScript: its wide adoption and demand, its work with web pages and forms, and what the course covers, from language basics and object-oriented programming to page handling and errors.8:11
  2. How to Use JavaScript?Shows what JavaScript is and how to use it, covering ways to run it such as online editors for quick tests and the browser console, with a note on server-side use through Node.js.12:32
  3. Ways to Write Code in JavaScriptExplains two ways to write JavaScript code: creating a folder and file and installing a JavaScript extension in the editor, then writing the code inside the page's body tag or separating it into its own file.16:49
2

Basics of JavaScript

3 lectures
  1. Variables and Data TypesExplains JavaScript programming basics: single-line and multi-line comments, declaring variables, the fact that a variable's type changes with its value, and fixing an unchangeable value with const.13:53
  2. OperatorsExplains Operators in JavaScript, including addition, subtraction and comparison, the difference between == which compares value and === which compares value and type, and incrementing with ++ and +=.11:32
  3. Creating Your First Practical ApplicationBuilds a first practical app with a graphical interface of input fields and a button, linking it to JavaScript code to add values and show the result, and fixing text concatenation instead of numeric addition.11:10
3

Control Flow

2 lectures
  1. The If StatementExplains if conditional statements in JavaScript and running code when a condition holds, with else if for several conditions on age, and how a satisfied condition skips the ones after it.13:38
  2. The Switch StatementExplains the switch conditional statement, which tests a variable against several case values and runs code for each with break, through an example where the user picks a mood.10:01
4

Loops

3 lectures
  1. The For LoopExplains the for loop in JavaScript as an alternative to copying a statement many times, with its parts of start value, condition and step, counting both up and down.17:48
  2. Nested LoopsExplains nested loops, a for loop inside another, and how the inner loop runs fully for each iteration of the outer one, using break and continue to control repetition.13:08
  3. The Do While LoopExplains while and do while loops and their difference: do while runs the code once before checking the condition, with a name-guessing example that repeats until correct, and a recap of break and continue.12:55
5

Functions

2 lectures
  1. Defining FunctionsExplains defining functions in JavaScript to split code into tasks, starting with a function without parameters, then adding a parameter with a default value used when nothing is passed.14:55
  2. Functions with ParametersExplains functions with parameters: passing values in and returning a result with return, such as adding two numbers or computing a factorial, plus scope, which keeps a variable inside its function.16:49
6

Arrays

2 lectures
  1. 1D ArraysExplains one-dimensional arrays in JavaScript: what they are, why they are needed, how to create an array of values, access its elements, and get its size with the length property.19:33
  2. 2D ArraysExplains two-dimensional arrays in JavaScript, an array of arrays, how to reach an element by row and column index, and how to fill and print its values with loops.7:30
7

Error Handling

2 lectures
  1. Types of Errors and Using Try & CatchExplains error handling in JavaScript and the types of errors, from syntax errors and logic errors to unexpected ones, and using try and catch to run code and catch the problem.15:19
  2. Using Finally & throw to Detect and Handle ErrorsExplains using finally to run code whether or not an error occurs, and throw to raise a deliberate error for an unacceptable value such as a negative number, alongside try and catch.11:10
8

Objects & OOP

3 lectures
  1. Working with ObjectsExplains Objects in JavaScript as a way to group related variables such as a student's id, name and salary into one entity, accessing its properties, changing their values and printing it in the console.17:30
  2. Object-Oriented Programming - OOPIntroduces object-oriented programming in JavaScript: creating a class once with properties and a constructor, then making several objects from it and using a method inside it, to reuse code.15:13
  3. InheritanceExplains inheritance in object-oriented programming: creating a new class that extends an existing one to inherit its properties and methods, using super in the constructor and adding new properties without rewriting code.10:52
9

BOM & DOM

2 lectures
  1. Browser Object Model - BOMExplains the Browser Object Model (BOM) and its relation to the DOM, its parts window, navigator and screen, and how JavaScript controls the window by opening and closing it, showing messages and delaying actions.12:12
  2. Document Object Model - DOMExplains the DOM, which represents the page itself, and how to reach its elements by id or tag name, change their content and style, and handle events such as mouse hover.17:57
10

Form Validation

3 lectures
  1. Form Validation BasicsExplains validating form fields in three ways: HTML attributes such as minimum and maximum text length and field type, JavaScript code, and Regular Expressions to match a pattern such as an email.13:04
  2. Advanced Validation RulesExplains more advanced validation of user input with JavaScript, such as checking that a value is a number, checking text length, and showing suitable error messages before accepting the data.13:34
  3. Validation with Regular ExpressionsExplains validating input with regular expressions, which compare a value against a defined pattern, and how to use test to check whether the text matches and show a correct or incorrect message.6:18
11

Web Services & APIs

4 lectures
  1. Introduction to Web Services & APIsIntroduces Web Services and APIs, which let any language call them and get data from organizations without knowing the language they were built in, leading into the XML and JSON formats.13:53
  2. Working with XML and JSONIntroduces the XML and JSON data exchange formats, explains XML's tag-based structure where every opened tag must be closed, and practices writing an XML file and viewing it in the browser.12:50
  3. Exploring and Testing Web ServicesExplores public web services and how to test them with dedicated tools, such as requesting data from an API with specific conditions and fields, and trying SOAP services through a WSDL file.12:54
  4. Working with and Calling Web Services using JavaScriptExplains calling web services from JavaScript through a REST API URL, fetching JSON data and converting it into an object, printing it in the console and reaching its fields such as the name.13:39

Instructor

Eng. Azab Mohamed Azab

Eng. Azab Mohamed Azab

Lecturer at the Arab Academy for Science, Technology and Maritime Transport, and the Egyptian Ministry of Interior, specializing in technology and information.
68.8K views28 courses

This course is part of the diploma

Related courses