The earlier exercise already gave the workshop a working form and itinerary; this starter includes that completed state plus an unwired filter field and an empty count paragraph. The existing itinerary, form, and accessibility attributes are setup, not steps to redo. Finish the project without discarding the previous behavior.
Another page might announce only visible reading-list entries:
const visible = Array.from(
document.querySelectorAll("#books li")
)
.filter(book => !book.hidden).length;
document.querySelector("#books-count").textContent =
`${visible} books shown`;
Your count needs to stay correct after typing, adding, updating, and removing. Keep createSessionRow and renderSessions from the earlier stage; extend the renderer to attach Remove buttons to the prepared rows. The row’s supplied data-title lets you search the title without accidentally matching a time or button label. Keep the data in sessions and rerender from it.
Filter only session titles, not their times, track labels, or Remove-button text. Trim surrounding spaces. After removing a row, return focus to the filter so keyboard users can continue. Duplicate titles remain separate entries; remove the clicked row by position.
When renderSessions() starts calling your filter, select the query and count elements before the first render. You can move the existing renderSessions() call to the bottom of script.js, after those new const declarations. Keep just one initial call; otherwise a function may try to read a variable before it has been initialized.
button.remove-session, including rows added through the form.#sessions to delete the matching object from sessions and rerender, including clicks on text nested inside the button.No sessions to update.. The starter’s empty guard already prevents access to a missing object; add the feedback there.#session-count role="status" and aria-live="polite".#session-status.#session-query so the keyboard user can continue.Add a session, filter for its title, remove it with the button, and clear the search. The other sessions should still be available. The workshop planner is complete.