Search box not sending query to Algolia

Hi, I’m implementing Algolia directly on the browser and loading all the packages from the urls provided. On launching, my page is showing the search box and a list of products is retrieved from Algolia but when I’m typing something in the search box nothing happens. The input does not even submit on pressing enter. I’m really new to coding and so there might be something I’m doing wrong although I tried to follow the documentation to my best.

Any suggestions would be appreciated.

I found the issue, I was using an input element as the searchbox instead of using a div element. The problem is resolved!