The roadmap
8 short lessons, one map.
Variables and types
let and const, strings, numbers and booleans, and how to check a value with typeof.
Operators and conditions
Math, comparisons, === versus ==, and if/else to make decisions.
Functions
Function declarations, arrow functions, parameters and return values.
Arrays
Store lists and work with them using push, map, filter and find.
Objects
Group related data with keys and values, and read it with dot notation and destructuring.
Loops
for, for...of and while, and when to use array methods instead.
The DOM and events
Select elements on a page, change their text and styles, and react to clicks.
Async code
Promises, async/await and fetch, to load data without freezing the page.
Try a question
Every lesson ends with a quick quiz.
Answer it here. In the app, a question you miss comes back in your review as a game until it sticks.
Quick quiz · JavaScript
What does console.log(typeof null) print?
How Adept AI helps
Learn JavaScript and keep what you learn.
Find-the-bug practice
Questions you miss come back as games, including find the bug, so you learn to spot mistakes in real code.
Built for your time
Tell Adept AI you have 15 or 30 minutes a day and the roadmap is split into lessons that fit.
Ask about any snippet
Not sure why === matters? Ask the companion about any code from your lessons.
Avoid these
Common beginner mistakes.
Using == instead of ===
== converts types before comparing, so 0 == "" is true. Use === unless you have a reason not to.
Forgetting that const isn't frozen
const stops you from reassigning a variable, but you can still change the contents of a const array or object.
Ignoring async
fetch returns a promise. Use await or .then(), or you will be working with data that hasn't arrived yet.
Only watching tutorials
Type the code yourself and change it. Small experiments teach more than watching someone else type.
FAQ
JavaScript: questions, answered.
Can I learn JavaScript with Adept AI as a complete beginner?
Yes. Choose Beginner and the roadmap starts with variables, types and conditions. If you already know another language, choose a higher level and move faster.
Do I need a computer to learn JavaScript with Adept AI?
You can learn the concepts and practice reading code on your phone. To build real projects, you will also want a computer with a code editor and a browser.
Should I learn Python or JavaScript first?
Both are good first languages. JavaScript makes sense if you want to build websites; Python is popular for data and automation. The basics carry over either way.
Is Adept AI free?
Adept AI is free to download. The free plan includes daily AI uses and two learning paths at a time. Adept AI Premium is an optional subscription with more AI uses and unlimited paths.
More roadmaps
Or learn something else.
In the app you can type any topic or add a PDF of your own notes.
-
HTML and CSS
From tags and selectors to the box model, Flexbox, Grid and responsive design.
See the roadmap -
Python
From variables and loops to functions, classes and a small project of your own.
See the roadmap -
SQL
From SELECT and WHERE to JOINs, GROUP BY and subqueries.
See the roadmap -
Java
From types and methods to classes, collections and exceptions.
See the roadmap
Any topic. One map.
Free to download. Premium is optional.