JavaScript foundations
The core of JavaScript, from your first variable to the DOM, events, promises and fetch, finishing with a small app you build yourself.
4 modules · 12 lessons · about 4 hours · Beginner
What you'll be able to do
Read and write everyday JavaScript with confidence, and make web pages respond to people.
- Values, variables, decisions and loops.
- Reusable code and the shapes your data comes in.
- Change a web page from code and react to clicks and typing.
- Promises, fetching data and a small app of your own.
Course outline
1The basics
- Values and variables
- Making decisions
- Loops
2Functions, arrays and objects
- Writing functions
- Arrays and loops
- Objects
3The DOM and events
- Finding and changing elements
- Responding to events
- Building elements from data
4Async and the capstone
- Promises and async/await
- Fetching data
- Capstone: a to-do app
How you'll learn
- Write and run real code in your browser. Nothing to install.
- Short lessons that build on each other, so every step makes sense.
- A tutor you can ask anytime. It knows the lesson you're on.
- Quick checks along the way, so you know it stuck.
Questions
How do I get JavaScript foundations?
It comes with any paid plan, along with every other course in the catalogue. Sign up, pick a plan and start.
Do I need any experience?
No. It starts from zero and explains each new idea as it comes up.
How long does it take?
12 lessons in all, about about 4 hours in total. Go at your own pace: your progress is saved.
What if I get stuck?
Ask the tutor. It knows the lesson you're on and explains things another way until it clicks.
Can I learn on my phone?
Yes. Lernelle works in any browser, on your phone, tablet or computer.
Does it stay up to date?
Yes. We update the course when things change, and you can bring the new version into yours with one click.
Ready to start?
Pick a plan and this course is yours, with everything else in the catalogue.