starting point for part 2 exercise

This commit is contained in:
Pablo Martin 2025-05-20 16:21:42 +02:00
parent f741853323
commit ec568c4e9b
23 changed files with 5722 additions and 0 deletions

View file

@ -0,0 +1,24 @@
import ReactDOM from 'react-dom/client'
import App from './App'
const notes = [
{
id: 1,
content: 'HTML is easy',
important: true
},
{
id: 2,
content: 'Browser can execute only JavaScript',
important: false
},
{
id: 3,
content: 'GET and POST are the most important methods of HTTP protocol',
important: true
}
]
ReactDOM.createRoot(document.getElementById('root')).render(
<App notes={notes} />
)