Commit af9113b8 authored by Sindre Sorhus's avatar Sindre Sorhus

Forgot the `d` in completed and fix sentence

parent 3a3cdf2e
...@@ -258,7 +258,7 @@ WebKit supports styling of inputs */ ...@@ -258,7 +258,7 @@ WebKit supports styling of inputs */
transition: color 0.4s; transition: color 0.4s;
} }
#todo-list li.complete label { #todo-list li.completed label {
color: #a9a9a9; color: #a9a9a9;
text-decoration: line-through; text-decoration: line-through;
} }
......
...@@ -13,12 +13,14 @@ ...@@ -13,12 +13,14 @@
<h1>todos</h1> <h1>todos</h1>
<input id="new-todo" placeholder="What needs to be done?" autofocus> <input id="new-todo" placeholder="What needs to be done?" autofocus>
</header> </header>
<!-- this section should hidden by default and shown when there are todos --> <!-- this section should be hidden by default and shown when there are todos -->
<section id="main"> <section id="main">
<input id="toggle-all" type="checkbox"> <input id="toggle-all" type="checkbox">
<label for="toggle-all">Mark all as complete</label> <label for="toggle-all">Mark all as complete</label>
<ul id="todo-list"> <ul id="todo-list">
<li class="complete"> <!-- these are here just to show the structure of the list items -->
<!-- list items should get the class `editing` when editing and `completed` when marked as completed -->
<li class="completed">
<div class="view"> <div class="view">
<input class="toggle" type="checkbox" checked> <input class="toggle" type="checkbox" checked>
<label>Create a TodoMVC template</label> <label>Create a TodoMVC template</label>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment