Skip to content

Commit 7cf5dcd

Browse files
replace with footer
1 parent 69247e7 commit 7cf5dcd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ep16-new-css/app/components/App.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,12 @@ export default class App extends React.Component {
6262
<button> Submit </button>
6363
</form>
6464

65-
<p>
65+
<footer>
6666
All: ({ this.state.todos.length }) |
6767
Completed: ({ this.state.todos.filter((todo) => { return todo.done }).length }) |
6868
Pending: ({ this.state.todos.filter((todo) => { return !todo.done }).length }) |
6969
<a href='#' onClick={this.handleClearCompleted.bind(this)}>Clear Completed</a>
70-
</p>
71-
<p>
72-
</p>
70+
</footer>
7371

7472
<DisplayList
7573
handleDone={this.handleDone.bind(this)}

0 commit comments

Comments
 (0)