Learn JavaScript from Scratch: JavaScript for Everyone

Video description

Despite the deluge of new coding languages over the years, JavaScript continues to dominate the web. The language is a staple in most of the front-ends; if not vanilla JavaScript, you won’t be surprised to find one of its derivatives on the next website you visit. This ubiquity makes JavaScript a sought-after skill. This course is designed to teach you that skill from scratch.

You’ll begin by learning how to set up your coding playground and then gain some familiarity with the JavaScript syntax. Once you’ve gotten your hands dirty, you’ll discover how to store data in variables, comment out your code, and do more with your variables by learning about operators.

Next, you’ll learn about data structures and conditional statements, further shoring up your JavaScript skills. By learning about the Document Object Model (The DOM), you will be able to change the elements of a webpage and add interactivity to it. You’ll also learn to work with strings and arrays, and then, to make your code concise, learn how to write your own functions. Toward the end of the course, you’ll work on a final project wherein you’ll get to use all these skills together.

By completing this course, not only will you have a solid understanding of modern JavaScript language, you’ll also be able to use it to create engaging, interactive webpages.

What You Will Learn

  • Learn about different variable types, including let and const
  • Discover how to do more with your variables using operators
  • Gain an in-depth understanding of data structures in JavaScript
  • Learn in detail the structure of the Document Object Model (The DOM)
  • Using the knowledge of the DOM, learn to modify elements of an HTML page
  • Discover how to manipulate strings and how to work with numbers
  • Learn how to store and work with multiple elements through arrays
  • Make your code concise by learning how to write your own functions


If you’re someone who has never coded in JavaScript but always wanted to, this course is for you. Since you’ll be making interactive webpages, a rudimentary knowledge of HTML CSS would be beneficial (though it’s not a hard requirement).

About The Author

Kalob Taulien: Kalob Taulien is a professional web developer who has been developing websites and working with start-ups since 1999. Since many years, he has been writing codes in Python and Django. He is in the core Wagtail CMS team and one of the core leaders in Wagtail-based education. The passion to learn and to share his knowledge by teaching and helping others is something that drives him constantly. His ability to turn complex programming concepts into easy-to-understand bits of knowledge has been called his 'superpower'. Throughout the years, he has built numerous websites. He even provides one-on-one coaching and start-up consulting to new organizations.

Table of contents

  1. Chapter 1 : Introduction
    1. Introduction
  2. Chapter 2 : Getting Started
    1. Getting Your Hands Dirty
    2. What is JavaScript?
    3. You Need a Text Editor
    4. JavaScript Syntax
  3. Chapter 3 : Coding with JavaScript
    1. Console Logging
    2. Debugging External Files
    3. Storing Data in Variables
    4. Let and Const Variable Types
    5. Coding Comments
    6. JavaScript Operators
    7. Data Structures
    8. Conditional Statements
    9. The Document Object Model (DOM)
    10. Selecting Elements by Their IDs
    11. JavaScript Objects
    12. String Methods
    13. Demystifying Data Types
    14. Casting Data Types
    15. String Concatenation
    16. JavaScript Numbers
    17. JavaScript Arrays
    18. Array Iteration
    19. Selecting Multiple DOM Nodes
    20. Functions: the DRY (Don't Repeat Yourself) Principle
    21. Functions: Reusing Code
    22. Functions: the Rest Operator
    23. Objects with Functions
    24. Final Project
  4. Chapter 4 : Section Summary
    1. Summary
  5. Chapter 5 : JavaScript 201 - Getting Started
    1. introduction
    2. Styling Your Code
    3. Waiting for the Page to Load
    4. When the Page is Refreshed
  6. Chapter 6 : Intermediate JavaScript
    1. Strict Comparisons
    2. JavaScript Scope
    3. JavaScript Hoisting
    4. JavaScript Closures
    5. Callback Functions
    6. Strict Mode
    7. Timeout and Intervals
    8. While Loops
    9. Date Formatting
    10. Destructuring Arrays and Objects
    11. Deleting Object Properties
    12. JavaScript Math
  7. Chapter 7 : Mini-Project
    1. Random Numbers
    2. Random Number Guessing Game
  8. Chapter 8 : Professional JavaScript
    1. Try, Catch, and Finally
    2. The 'This' Keyword
    3. Arrow Functions
    4. JavaScript Classes
    5. Class Constructors
    6. JavaScript Object Notation
    7. Ajax
    8. Fetch API
  9. Chapter 9 : Final Project
    1. Your Project
    2. Summary

Product information

  • Title: Learn JavaScript from Scratch: JavaScript for Everyone
  • Author(s): Kalob Taulien
  • Release date: March 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781801070386