Solution 1
Solution 2
https://www.w3schools.com/howto/howto_js_filter_lists.asp https://www.w3schools.com/howto/howto_js_filter_table.asp