scrimba
Learn React for free
React Todo App - Phase 2
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

React Todo App - Phase 2
AboutCommentsNotes
React Todo App - Phase 2
Expand for more info
App.js
run
preview
console
/*
Time to have fun styling! But first things first:

1. Change the input/p combo below to be a new component called <TodoItem />. <TodoItem /> (for now) will just have the same displayed data below (every todo item is the same) hardcoded inside of it. (We'll learn soon how to make the TodoItem more flexible)

2. Style up the page however you want! You're welcome to use regular CSS (in the CSS file) or inline styles, or both!
*/

import React from "react"

function App() {
return (
<div>
<input type="checkbox" />
<p>Placeholder text here</p>

<input type="checkbox" />
<p>Placeholder text here</p>

<input type="checkbox" />
<p>Placeholder text here</p>

<input type="checkbox" />
<p>Placeholder text here</p>
</div>
)
}

export default App
Console
index.html
-3:17