Skip to content

Commit 834ebcd

Browse files
committed
Add colons and keep the consistency
1 parent 813bd9d commit 834ebcd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/tutorial/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ While we're cleaning up the code, we also changed `onClick={() => props.onClick(
524524
525525
An obvious defect in our game is that only X can play. Let's fix that.
526526
527-
Let's default the first move to be by 'X'. Modify our starting state in our Board constructor.
527+
Let's default the first move to be by 'X'. Modify our starting state in our Board constructor:
528528
529529
```javascript{6}
530530
class Board extends React.Component {
@@ -537,7 +537,7 @@ class Board extends React.Component {
537537
}
538538
```
539539
540-
Each time we move we shall toggle `xIsNext` by flipping the boolean value and saving the state. Now update Board's `handleClick` function to flip the value of `xIsNext`.
540+
Each time we move we shall toggle `xIsNext` by flipping the boolean value and saving the state. Now update Board's `handleClick` function to flip the value of `xIsNext`:
541541
542542
```javascript{3,6}
543543
handleClick(i) {
@@ -550,7 +550,7 @@ Each time we move we shall toggle `xIsNext` by flipping the boolean value and sa
550550
}
551551
```
552552
553-
Now X and O take turns. Next, change the "status" text in Board's `render` so that it also displays who is next.
553+
Now X and O take turns. Next, change the "status" text in Board's `render` so that it also displays who is next:
554554
555555
```javascript{2}
556556
render() {

0 commit comments

Comments
 (0)