AITeky Learn

AiTeky Original Interactive Learning & Practice Beginner

From a script tag to a shipped service: the language, the browser and the server side

Learn how modern JavaScript's declarations, defaults and loops really behave, make a page respond to clicks with one listener instead of five hundred, read package versions the way npm does, and load a dashboard that survives a failing API.

JavaScript started as a few lines inside a web page and now runs shops, dashboards and servers. Four things separate code that works on the author's laptop from code that works for everyone: knowing what the language does with values and loops, handling the page's events efficiently, managing packages and versions, and waiting for the network without falling over when it fails.

This course follows Nikhil, a junior developer at a shop that sells kitchen appliances online, through his first month. Each lesson has small Python programs that run in your browser and copy exactly what JavaScript does, next to the real JavaScript. Python stands in for JavaScript: run the code to see the rule, then use the JavaScript at work. Check MDN Web Docs for exact syntax. All data is made up.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

Basic Python helps. Take "JavaScript and TypeScript: coercion, the event loop and types at the edge" for equality and the event loop.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 25 min 🔒 AiTeky Pass Variables, types, operators and control flow in modern JavaScript See how let and const differ from the old var, which values JavaScript treats as false, why a quantity of 0 turns into 1 with || but not with ??, how optional chaining stops a crash, and why for...in and a switch without break surprise people.
  2. 02 25 min 🔒 AiTeky Pass The DOM and events: making a page react to the user Find elements in a page's tree, follow a click as it bubbles up from a button to the document, handle five hundred product buttons with one listener using event delegation, and stop a form from reloading the page.
  3. 03 25 min 🔒 AiTeky Pass Modules, npm and running JavaScript with Node.js Split code into modules with import and export, read version ranges such as ^4.18.2 the way npm does, see how a lock file stops a broken release reaching the build, count the packages a project really installs, and run JavaScript outside the browser with Node.js.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 04 30 min 🔒 AiTeky Pass On the job: asynchronous JavaScript: callbacks, promises, async/await and fetch Move a dashboard from nested callbacks to async/await, see why fetch does not fail on a 500 error, keep three widgets working when the fourth API fails, stop a slow API from leaving a spinner forever, and retry only what is safe to retry.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in