Course description

If you know some JavaScript and want to build pages that respond as people use them, this course teaches React from the very beginning, one clear step at a time, until you can plan and build a complete app of your own.

You start by installing Node.js and creating a React project with Vite, then learn the building blocks: JSX, components and props, lists, conditions, events and state. From Section 6 you build forms and share data between components, load data with effects, write a custom hook, and style your app. Then you make it work for keyboard and screen reader users, read error messages with confidence, use the browser's developer tools, build the finished app and learn how to put it online.

There are 10 sections and 50 written lessons, each with real code and its real output, a worked example, common slips, questions people often ask and a short exercise to try, and each section ends with a short quiz. You follow Bethwyn, a dental receptionist learning React, as she builds an order page for a fictional café. Every section has a practice pack with a ready-made practice project, worked answers, expected output, a worksheet with an answer key and a cheat sheet. Pack 2 and pack 10 add a JSX and hooks cheat sheet, pack 9 adds a guide to error messages, and pack 10 holds the final project in five step folders.


What you'll learn

  • Getting started with React: what React is and why components help, installing Node.js and npm, creating a project with Vite, and finding your way around it.
  • JSX: how JSX becomes JavaScript, its rules, curly braces for values, fragments and comments, and attributes, images and style objects.
  • Components and props: writing components, passing data with props, default values, the children prop, and splitting components into files.
  • Lists and conditional rendering: rendering lists with map, keys and why React needs them, filtering and sorting, showing things only when they apply, and empty lists.
  • State and events: handling clicks, remembering values with useState, updating from the previous value, objects and arrays in state, and how React renders.
  • Forms and sharing data: controlled inputs, selects, checkboxes and text areas, submitting and checking a form, and lifting state up to share it.
  • Effects, data and custom hooks: what useEffect is for, dependencies and cleaning up, loading data from a JSON file, loading and error messages, and custom hooks in outline.
  • Styling, context, routing and accessibility: plain CSS, CSS modules and inline styles, useContext and routing in outline, and making pages work with the keyboard and screen readers.
  • Debugging, building and good habits: reading error messages, the browser's developer tools, building with Vite, putting a static site online in general terms, and how professional code is checked.
  • Final project: the Gorsebrook Café order page: a complete order page for a made-up café, planned and built in five working steps, with the full code at every step.


Who it's for

Learners who already know basic JavaScript, HTML and CSS and want to take the next step to building interactive web apps. If you are new to JavaScript, start with JavaScript for Beginners: Make Your Web Pages Interactive, then come back to this course. You need a computer where you can install free software, a code editor and an up-to-date web browser.


What this course is, and isn't

This is a practical introduction to React, using a plain Vite project so you understand every step. It was written with React 19.3, Vite 8.3 and Node.js 22, and every example was run with those versions; tools change often, so the course shows where to check the official pages if something looks different. It isn't a course on frameworks, back ends, payments or mobile apps, and it doesn't recommend any editor, browser or hosting company. Bethwyn and every other person and business in the course are fictional.

What will I learn?

  • Set up Node.js and npm, create a React project with Vite and run it in the development server
  • Write JSX and build pages from components that take data as props
  • Render lists with keys, and show or hide parts of the page with conditions
  • Handle events and remember values with useState, updating objects and arrays the right way
  • Build forms with controlled inputs, check what people type and show clear messages
  • Share data between components by lifting state up and passing props down
  • Load data from a JSON file with useEffect and fetch, with loading and error messages, and write a custom hook
  • Style components with plain CSS, CSS modules and inline styles, and outline context and routing
  • Make React pages work with the keyboard and screen readers, read error messages and debug with the browser's tools
  • Build an app with Vite, understand how a static site goes online, and plan and build a complete small app

Requirements

  • Basic JavaScript, HTML and CSS; JavaScript for Beginners: Make Your Web Pages Interactive covers what you need
  • A computer where you can install Node.js (Lesson 1.3 explains how) and use a terminal
  • A code editor and an up-to-date web browser; the course doesn't need any particular one

Frequently asked questions

It's for learners who already know basic JavaScript, HTML and CSS and want to build interactive web apps. If you are new to JavaScript, start with JavaScript for Beginners: Make Your Web Pages Interactive, then come back.

Node.js, which includes npm. Lesson 1.3 explains how to install it from nodejs.org and check it works. Vite and React are then downloaded into each project with npm. You also need a code editor and an up-to-date web browser.

React 19.3, with Vite 8.3 and Node.js 22, and every example was run with those versions. Tools change often, so the course shows where to check the official React, Vite and Node.js pages if something looks different.

Yes. Every section has a practice pack with a ready-made practice project, worked answers, the expected output, a worksheet with an answer key and a cheat sheet. Pack 2 and pack 10 add a JSX and hooks cheat sheet, pack 9 an error message guide, and pack 10 the final project in five step folders.

No. Every lesson is written, with real code and its real output, a worked example, common slips, questions people often ask and a short exercise. Each section ends with a short quiz.

No. It teaches React itself in a plain Vite project, and explains in general terms how a static site goes online. Those topics build on what you learn here.

You get lifetime access, including any lessons we add later.

Yes. You can ask for a refund within 14 days of buying if you've completed less than 30% of the course. Email support@rootlet.co.uk.
React for Beginners: Build Interactive Web Apps with JavaScript

£34.99

Lectures

60

Quizzes

10

Skill level

Beginner

Expiry period

Lifetime

Certificate

Yes

✓ 14-day money-back guarantee if you have completed less than 30% of the course. Refund policy

✓ Secure card payment by Stripe

✓ Questions before you buy? support@rootlet.co.uk

Sold by Rootlet Academy Ltd, a UK company (no. 17529179).

Share this course

Related courses

Learn something new every week

One short, practical tip each Thursday, plus news when new courses open. Free, and you can unsubscribe in one click.

We'll never share your email. See our privacy policy.