JavaScript Fundamentals
The Big Idea
JavaScript is the language that makes web pages interactive. In this sprint you will go beyond the basics from Sprint 2 and build a solid foundation in the core concepts every JavaScript developer uses daily — functions, objects, arrays, conditionals, and loops.
Your Roadmap
| Section | Time | Required? |
|---|---|---|
| Get started | 10 min | ⚑ Required |
| Variables | 1 hour | ⚑ Required |
| Functions | 2 hours | ⚑ Required |
| Operators | 2 hours | ⚑ Required |
| Objects | 2 hours | ⚑ Required |
| Arrays | 2 hours | ⚑ Required |
| Conditionals | 2 hours | ⚑ Required |
| Loops | 2 hours | ⚑ Required |
| Reflect | 1 hour | ⚑ Required |
These are upper limits, not targets. If you finish earlier, that is fine.
Get started
You will need the correct software installed from the Bootcamp Computer Set Up Guide — this should already be done from Sprint 1.
Step 1: Fork the repo
Visit the JavaScript Intro repository on GitHub and click the Fork button in the top right to create your own copy.
Step 2: Clone it
From your command line, clone your copy:
git clone git@github.com:YOUR-USERNAME/javascript-intro.git
Step 3: Open it
cd javascript-introcode .
Step 4: Read the README
Read the entire README.md before starting — it has further instructions for each challenge.
You may find it helpful to keep the JavaScript Glossary open as you work through the challenges.
Variables
Watch:Variables (7 min)
Complete the variables challenge.
Functions
Watch:Functions (10 min)
Complete the functions challenge.
Operators
Watch:Operators (8 min)
Complete the operators challenge.
Objects
Watch:Objects (6 min)
Complete the objects challenge.
Arrays
Watch:Arrays (6 min)
Complete the arrays challenge.
Conditionals
Watch:Conditionals (11 min)
Complete the conditionals challenge.
Loops
Watch:Loops (12 min)
Complete the loops challenge.
How to know you've nailed it
| Level | You can... | ||
|---|---|---|---|
| 🪨 | Intro Climb | Complete the variables, functions, and operators challenges | ⚑ Required |
| 🧗 | Core Ascent | Complete all seven challenges and commit your progress regularly | ⚑ Required |
| 🏔️ | Summit | Explain in your own words what each concept does and when you would use it | ◎ Optional |
The Big Idea (revisited)
Variables, functions, operators, objects, arrays, conditionals, and loops are the building blocks of every JavaScript programme. You will use all of them in every project from here on.
Reflect
Open my-reflections-sprint-3.md and add your answers under the Learning JavaScript heading.
Stage, commit, and push.
Extra Resources
These are optional. Use them if you want to go deeper.