What is React?
React is a JavaScript library created by Facebook for building user interfaces. While JavaScript focuses on **how** to change the page (imperative), React focuses on **what** the page should look like (declarative).
1. The Power of Components
Imagine building a LEGO castle. Instead of molding the entire castle from one piece of plastic, you have blocks: windows, doors, towers. In React, these are **Components**. You write them once and reuse them everywhere.
2. JSX (JavaScript XML)
JSX allows us to write HTML-like structures directly inside our JavaScript. It's not a string; it's a powerful syntax that React transforms into real browser elements.