Skip to content

Commit d4ae559

Browse files
committed
Merge pull request tastejs#4 from arthurvr/classes
Update to classes
2 parents 6b82177 + 2055b9d commit d4ae559

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
<link rel="stylesheet" href="css/app.css">
1010
</head>
1111
<body>
12-
<section id="todoapp">
13-
<header id="header">
12+
<section class="todoapp">
13+
<header class="header">
1414
<h1>todos</h1>
15-
<input id="new-todo" placeholder="What needs to be done?" autofocus>
15+
<input class="new-todo" placeholder="What needs to be done?" autofocus>
1616
</header>
1717
<!-- This section should be hidden by default and shown when there are todos -->
18-
<section id="main">
19-
<input id="toggle-all" type="checkbox">
18+
<section class="main">
19+
<input class="toggle-all" type="checkbox">
2020
<label for="toggle-all">Mark all as complete</label>
21-
<ul id="todo-list">
21+
<ul class="todo-list">
2222
<!-- These are here just to show the structure of the list items -->
2323
<!-- List items should get the class `editing` when editing and `completed` when marked as completed -->
2424
<li class="completed">
@@ -40,11 +40,11 @@ <h1>todos</h1>
4040
</ul>
4141
</section>
4242
<!-- This footer should hidden by default and shown when there are todos -->
43-
<footer id="footer">
43+
<footer class="footer">
4444
<!-- This should be `0 items left` by default -->
45-
<span id="todo-count"><strong>0</strong> item left</span>
45+
<span class="todo-count"><strong>0</strong> item left</span>
4646
<!-- Remove this if you don't implement routing -->
47-
<ul id="filters">
47+
<ul class="filters">
4848
<li>
4949
<a class="selected" href="#/">All</a>
5050
</li>
@@ -56,10 +56,10 @@ <h1>todos</h1>
5656
</li>
5757
</ul>
5858
<!-- Hidden if no completed items are left ↓ -->
59-
<button id="clear-completed"></button>
59+
<button class="clear-completed"></button>
6060
</footer>
6161
</section>
62-
<footer id="info">
62+
<footer class="info">
6363
<p>Double-click to edit a todo</p>
6464
<!-- Remove the below line ↓ -->
6565
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"dependencies": {
4-
"todomvc-app-css": "^1.0.0",
4+
"todomvc-app-css": "^2.0.0",
55
"todomvc-common": "^1.0.0"
66
}
77
}

0 commit comments

Comments
 (0)