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: Clone the repo
Go to your cohort's repo: javascript-intro — select your cohort in the top-right corner of this page to see the link. On the repo page, click the green Code button and copy the SSH URL.
Clone it to your machine and navigate into it:
git clone <paste the SSH URL you copied>cd javascript-intro
Step 2: Create your branch
Use your full name in lowercase with a hyphen:
git checkout -b your-branch-name
Step 3: Open it
code .
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.
Commit regularly as you go, and push your branch when you're done:
git push origin your-branch-name
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.