Trouble with show results from a search box connected to data base

Hello friends! My problem is this:
I made a database and a dynamic page, i want to put a search box, in which users can input words to find the date into a table that contains the data base.
So, i’ve been looking for a solution for like a week or something, and today i found this amazing tutorial : https://www.youtube.com/watch?v=ZdIB0Q7WXP4&list=PL16sLBOBeiCPRFb05oERA0LtYheIyPoAR&index=7 and it really helped me, but here’s the thing, i´ve done exactly what the tutorial said, and my code is the same, but when i go to my published site, and try to search with the box, it does not shows ANYTHING, i clicked on the button like a 1000 times and does not work at all.

Here’s my code:

//importación de datos
import wixData from 'wix-data';
//IMPORTAR DATA DESDE  WIX DATA
$w.onReady (function(){});
//función de exportación
export function searchButton_onClick(event) {
 
  wixData.query('CertificacionesYellowBelt')
 //filtrar por nombre y codigo en el input 
    .contains('title',$w('#input1'))
    .find()
 //mostrar los resultados a través de
    .then(res => {
      $w('#table1').rows = res.items;
    });
}

idk, i think it could be the button but i have configured it just exactly like the tutorial said.

Here’s a picture of it:

and this is the web page: https://www.cgpgroup.online/beltcertifications

I really hope someone can help me!! Thank u !!!