|
@@ -26,6 +26,11 @@ App = React.createClass({
|
|
<div className="container">
|
|
<div className="container">
|
|
<header>
|
|
<header>
|
|
<h1>Todo list</h1>
|
|
<h1>Todo list</h1>
|
|
|
|
+
|
|
|
|
+ {/* These are JSX comments. */}
|
|
|
|
+ <form className="new-task" onsubmit={this.handleSubmit} >
|
|
|
|
+ <input type="text" ref="textInput" placeholder="Type to add new tasks" />
|
|
|
|
+ </form>
|
|
</header>
|
|
</header>
|
|
|
|
|
|
<ul>
|
|
<ul>
|