Skip to content

Commit dc07662

Browse files
authored
Update README.md
1 parent 6d17220 commit dc07662

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ npm start
2828

2929
## Exercise
3030

31-
Before you start, there are two types of components [Functional Components and Class Components](https://reactjs.org/docs/components-and-props.html#function-and-class-components).
31+
Before you start, there are two types of components [Function Components and Class Components](https://reactjs.org/docs/components-and-props.html#function-and-class-components).
3232

3333
```javascript
3434
function Welcome(props) {
@@ -44,22 +44,22 @@ class Welcome extends React.Component {
4444
}
4545
```
4646

47-
Try to use a Functional component if the component doesn't have state, you'll need to refactor code a few times during the next exercise 😁
47+
Try to use a Function component if the component doesn't have state, you'll need to refactor code a few times during the next exercise 😁
4848

4949
### Tasks
5050

51-
- [ ] 1. Refactor the “about” and “footer” sections by creating a functional component for each.
51+
- [ ] 1. Refactor the “about” and “footer” sections by creating a function component for each.
5252
Make sure everything works.
5353

54-
- [ ] 2. Refactor the navbar by creating a Functional Component.
54+
- [ ] 2. Refactor the navbar by creating a Function Component.
5555
Pass the dependencies (`this.toggleMenu` in this case) via props.
5656
Make sure everything works by clicking on the "Training" button at the top right of the screen.
5757

58-
- [ ] 3. Refactor the books section by creating a functional component and pass the dependencies via props.
58+
- [ ] 3. Refactor the books section by creating a function component and pass the dependencies via props.
5959
Make sure everything works.
6060

6161
- [ ] 4. Is there any state in app that should be in the Books component?
62-
Refactor `<Books>` if appropriate. Should `<Books>` be a Functional Component or a Class Component now?
62+
Refactor `<Books>` if appropriate. Should `<Books>` be a Function Component or a Class Component now?
6363

6464
- [ ] 5. Break `<Books>` down into `<BookList>` and `<BookFilter>`
6565

0 commit comments

Comments
 (0)