Problems with Code to Perform Search on Category

I forgot to ask: is that the only issue? I made the corrections, but the search is still not working. I typed the word in the column associated with Speciality and nothing happens.

import wixData from ‘wix-data’;
export function button1_click(event, $w) {
//// Runs a query on the “CoachDirectory” collection
wixData.query(‘CoachDirectory’)
// Query the collection for any items whose “Name” field contains
// the value the user entered in the input element
.contains(‘specialty’, $w(‘#input1’).value)
.find() // Run the query
.then(res => {
// Set the table data to be the results of the query
$w(‘#table1’).rows = res.items;
});
}
$w.onReady( function () {
$w(“#table1”).columns = [
{
“id”: “col1”, // ID of the column for code purposes
// The field key in the collection whose data this column displays
“dataPath”: “newField”,
“label”: “Coach Pic”, // The column header
“width”: 100, // Column width
“visible”: true , // Column visibility
“type”: “image”, // Data type for the column
},
{
“id”: “col2”,
“dataPath”: “coachFirstName”,
“label”: “Coach Name”,
“width”: 100,
“visible”: true ,
“type”: “string”,
},
{
“id”: “col3”,
“dataPath”: “specialty”,
“label”: “Coaching Specialty”,
“width”: 100,
“visible”: true ,
“type”: “string”,
},
{
“id”: “col4”,
“dataPath”: “datesAndTimesAvailable”,
“label”: “Availability”,
“width”: 100,
“visible”: true ,
“type”: “string”,
}];
})