We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f6d53e commit 3bc795aCopy full SHA for 3bc795a
app.js
@@ -33,3 +33,13 @@ addForm.addEventListener('submit', function(e){
33
li.appendChild(deleteBtn);
34
list.appendChild(li);
35
});
36
+
37
+// hide books
38
+const hideBox = document.querySelector('#hide');
39
+hideBox.addEventListener('change', function(e){
40
+ if(hideBox.checked){
41
+ list.style.display = "none";
42
+ } else {
43
+ list.style.display = "initial";
44
+ }
45
+});
0 commit comments