Skip to content

Commit

Permalink
Attribute for only works with the id attribute of the <input> t…
Browse files Browse the repository at this point in the history
…ag (#7)
  • Loading branch information
neo authored and sindresorhus committed Jun 30, 2017
1 parent 5a91776 commit 080663c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>todos</h1>
</header>
<!-- This section should be hidden by default and shown when there are todos -->
<section class="main">
<input class="toggle-all" type="checkbox">
<input id="toggle-all" class="toggle-all" type="checkbox">
<label for="toggle-all">Mark all as complete</label>
<ul class="todo-list">
<!-- These are here just to show the structure of the list items -->
Expand Down

0 comments on commit 080663c

Please sign in to comment.