Should I not be using app.on & invoke ?

Hi Kirupa ,
I enjoyed your youtube talk on WebView .
I am having trouble with a simple browser program ,

Trying to use electron ipc communication :
in renderer.js
go.addEventListener(‘click’, () => {
ipcRenderer.invoke(‘navigate’, url.value)
})
and in main.js

Program runs with no errors .
But when I click on ‘GO’ button , nothing happens .
Can you take a look at it :

Should I not be using app.on & invoke ?

Thanks for your help…