Search bar function

Hi guys,
I am looking for information on how to connect the “search bar” to the FoodFacts REST API, where I write the barcode or product name, which returns the information, in the same paragraph as when I scan the product
Immagine 2021-05-11 200239

I tried with this logic,

but it does not work

Anybody can help me ?

You need to link a page variable and the search bar together, and then use that page variable as the ID used to look up the information you need from the API

Hello Ridge
sorry for my inability, but I have not succeeded. A little help with a screenshot or step-by-step instructions?