The component computes JSX but never returns it.
Acceptance criteria
- 1.#root should show returned at last.
The component computes JSX but never returns it.
function App() { const content = <p>returned at last</p> return <p>nothing came back</p> } const root = ReactDOM.createRoot(document.getElementById("root")) root.render(<App />)
Output ready when you are
Press Run to render your code, or Submit to validate your solution.