A lowercase tag is treated as an HTML element, not your component.
Acceptance criteria
- 1.#root should show My Site.
A lowercase tag is treated as an HTML element, not your component.
function Header() { return <h3>My Site</h3> } function App() { return <div>nothing rendered yet</div> } 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.