js updates

This commit is contained in:
Micah Godbolt
2019-02-22 12:21:40 -08:00
parent 3ef69dc570
commit 4f7b9e4747
46 changed files with 200 additions and 144 deletions

View File

@@ -8,7 +8,7 @@
Add
</button>
<div class="filter">
<button onclick="filter('all', this)" class="active">all</button>
<button onclick="filter('all', this)" class="selected">all</button>
<button onclick="filter('active', this)">active</button>
<button onclick="filter('completed', this)">completed</button>
</div>

View File

@@ -1,5 +1,5 @@
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
width: 400px;
margin: 20px auto;
}
@@ -28,7 +28,7 @@ h1 {
background: transparent;
border: none;
}
.filter .active {
.filter .selected {
border-bottom: 2px solid blue;
}
@@ -47,4 +47,4 @@ footer span {
.hidden {
display: none;
}
}