Menu
CoddyTech

Searchable Catalog

Part of the Routing and State section of Coddy's Vue journey. Lesson 53 of 55.

Build this checkpoint of the Community Workshop Planner.

Continue your previous planner and preserve every routing, reservation, capacity and plan-summary feature. Add a local search draft input#search to Catalog. Search commits its trimmed value as query q; blank removes q. Show the committed value in brackets in p#search-value. Derive a case-insensitive substring filter over workshop titles, retaining source data and reservations. Show p#empty with No workshops match when appropriate; clearing the filter restores both records.

Keep the supplied route readout and bootstrap files.

challenge icon

Challenge

Hard

Continue your previous planner and preserve every routing, reservation, capacity and plan-summary feature. Add a local search draft input#search to Catalog. Search commits its trimmed value as query q; blank removes q. Show the committed value in brackets in p#search-value. Derive a case-insensitive substring filter over workshop titles, retaining source data and reservations. Show p#empty with No workshops match when appropriate; clearing the filter restores both records.

Keep the supplied route readout and bootstrap files.

Try it yourself

<!doctype html><html><head><meta charset="UTF-8"><title>Routing practice</title></head><body><div id="app"></div><script type="module" src="./main.js"></script></body></html>
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Routing and State