Skip to content

Commit 6cae82e

Browse files
author
crashtestzombie0@gmail.com
committed
fixed: lesson 14 said lesson 15
1 parent 484907b commit 6cae82e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lesson 14 - React Part 2.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Lesson 15 - React Part 2
1+
# Lesson 14 - React Part 2
22

33
## Recap & Intro
44

@@ -19,7 +19,7 @@ class HelloMessage extends React.Component {
1919
clickCount : 0
2020
};
2121
}
22-
22+
2323
_handleClick(event) {
2424
console.log('clicked!', event)
2525
}
@@ -41,7 +41,7 @@ _handleClick(event) {
4141
var clicks = this.state.clickCount;
4242
this.setState({clickCount: clicks + 1})
4343
}
44-
44+
4545
```
4646

4747
## Forms and User Input
@@ -63,7 +63,7 @@ In order to let the user update its value, use the onChange event handler to upd
6363
_handleChange: function(event) {
6464
this.setState({value: event.target.value});
6565
}
66-
66+
6767
render() {
6868
return (
6969
<input
@@ -104,7 +104,7 @@ render() {
104104
105105
## Exercise 1: Handling Events
106106
107-
1. Wire up a click event handler to your button.
107+
1. Wire up a click event handler to your button.
108108
2. Clicking the button takes the message from the text input and adds it to the message list.
109109
3. Clicking the button clears the message from the input box.
110110
4. If there is no text in the input box, the button should do nothing.

0 commit comments

Comments
 (0)