JSX treats a lowercase tag as an HTML element, so the component never runs.
Acceptance criteria
- 1.#root should show Hello React.
JSX treats a lowercase tag as an HTML element, so the component never runs.
function app() { return <h2>Hello React</h2> } const root = ReactDOM.createRoot(document.getElementById("root")) root.render(<p>nothing rendered</p>)
Output ready when you are
Press Run to render your code, or Submit to validate your solution.