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

SectionTimeRequired?
Get started10 min⚑ Required
Variables1 hour⚑ Required
Functions2 hours⚑ Required
Operators2 hours⚑ Required
Objects2 hours⚑ Required
Arrays2 hours⚑ Required
Conditionals2 hours⚑ Required
Loops2 hours⚑ Required
Reflect1 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

LevelYou can...
🪨Intro ClimbComplete the variables, functions, and operators challenges⚑ Required
🧗Core AscentComplete all seven challenges and commit your progress regularly⚑ Required
🏔️SummitExplain 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.