scrimba
Learn React Router
React Router
BrowserRouter & Routes challenge
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

To see this lesson you need to be logged in. Joining Scrimba is free and gives you access to 20+ courses.Sign up
BrowserRouter & Routes challenge
AboutCommentsNotes
BrowserRouter & Routes challenge
Expand for more info
index.jsx
run
preview
console
import React from 'react';
import ReactDOM from 'react-dom/client';

/**
* Challenge: set up the BrowserRouter and Routes!
* Note: nothing will render to the page yet.
*/
ReactDOM.createRoot(document.getElementById('root')).render(

);
Console
/
-1:06