Schedule your batch.






Your Classes


${element.textArea}

${element.title}

; }); let insertNotes = document.getElementById("notes"); if (notesObj.length == 0) { insertNotes.innerHTML = `Nothing to show! Please click on "Schedule Batch" button to add a new class.` insertNotes.style.color = "gray"; insertNotes.style.paddingTop = "10px"; insertNotes.style.fontSize = "15px"; } else { insertNotes.innerHTML = html; } } function deleteNote(index) { let notes = localStorage.getItem("notes"); if (notes == null) { notesObj = []; } else { notesObj = JSON.parse(notes); } notesObj.splice(index, 1); localStorage.setItem("notes", JSON.stringify(notesObj)); showNotes(); } let searchTxt = document.getElementById("searchTxt"); searchTxt.addEventListener("input", function () { let inputVal = searchTxt.value; console.log("input event fired", inputVal); let cards = document.getElementsByClassName("card"); Array.from(cards).forEach(function (element) { let cardTxt = element.getElementsByTagName('h2')[0].innerHTML; if (cardTxt.includes(inputVal)) { element.style.display = "block"; } else { element.style.display = "none"; } }) })