React for beginners: build a privacy-aware first app

React is a JavaScript library for building interfaces from reusable components. In this guide, you'll set up a React project, build a consent demonstration that remembers a choice, and publish it on a static host.

The project shows how to delay an optional script until someone accepts it. It is a learning exercise, not a complete consent system or proof of legal compliance.

1. Prepare your tools and choose a starting point

You should be comfortable with HTML elements, CSS classes, JavaScript functions, arrays, objects and imports. For React, practise