diff --git a/lesson 14 - React Part 2.md b/lesson 14 - React Part 2.md index 6478165..936ba0f 100644 --- a/lesson 14 - React Part 2.md +++ b/lesson 14 - React Part 2.md @@ -1,4 +1,4 @@ -# Lesson 15 - React Part 2 +# Lesson 14 - React Part 2 ## Recap & Intro @@ -19,7 +19,7 @@ class HelloMessage extends React.Component { clickCount : 0 }; } - + _handleClick(event) { console.log('clicked!', event) } @@ -41,7 +41,7 @@ _handleClick(event) { var clicks = this.state.clickCount; this.setState({clickCount: clicks + 1}) } - + ``` ## Forms and User Input @@ -63,7 +63,7 @@ In order to let the user update its value, use the onChange event handler to upd _handleChange: function(event) { this.setState({value: event.target.value}); } - + render() { return (