@@ -26,6 +26,11 @@ App = React.createClass({
<div className="container">
<header>
<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>
<ul>