JSX is an HTML-like syntax for describing user-interface elements inside JavaScript. It supports React’s reusable, composable component model while keeping UI structure close to related code. section 1.1 section 1.1.1
Quiz interface
A quiz can reuse TextToggle for both question and answer content: <TextToggle title="Question" text="Who created JavaScript?" show={true} /> and <TextToggle title="Answer" text="Brendan Eich" show={false} />. JSX is preprocessed into JavaScript before the app runs, commonly with Babel. section 1.1.1
<TextToggle title="Question" text="Who created JavaScript?" show={true} />
<TextToggle title="Answer" text="Brendan Eich" show={false} />
Inspect the compact JSX listing showing component reuse, props, text values, and Boolean display state. section 1.1.1





