Collection Data Search Functionality not responsive

I am new to coding. Using the available online guidance, I am trying to create data search functionality for my website. I have a dataset named “newmarklist” which consist of student’s records such as mobile number, emailID, their standard and marks obtained by them in different subject.

To start with I want to create a search page where they provide mobile number as input and get information about their “studentname” and “standard” in the output table. I am using the following code, but not getting any response. Any help will be appreciated.

import wixData from “wix-data” ;
export function searchButton_click ( event ) {
wixData . query ( “newmarklist” )
. contains ( “mobileNumber” , $w ( “#textBox1” ). value )
. find ()
. then ( res => {
$w ( “#table1” ). rows = res . items ;
});

$w . onReady ( function () {
$w ( “#table1” ). columns = [
{
“id” : “col1” ,
“dataPath” : “studentName” ,
“label” : “Name” ,
“width” : 100 ,
“visible” : true ,
“type” : “string” ,
},
{
“id” : “col2” ,
“dataPath” : “standard” ,
“label” : “Std” ,
“width” : 100 ,
“visible” : true ,
“type” : “string” ,
}];
});
}