Update tutorial.md (#8328)

* Update tutorial.md

fix "unknown: Unexpected token" in "codepen.io".

* tweaks per suggestion
This commit is contained in:
cloudy1
2016-11-29 23:00:33 +02:00
committed by Kevin Lacker
parent ce3b7ca475
commit 150e4e8be6

View File

@@ -90,7 +90,7 @@ After: You should see a number in each square in the rendered output.
##An Interactive Component
Let's make the Square component fill in an "X" when you click it. Try changing the tag returned in the `render()` function of the `Square` class to:
Let's make the Square component fill in an "X" when you click it. Try changing the opening tag returned in the `render()` function of the `Square` class to:
```html
<button className="square" onClick={() => alert('click')}>