Please , what am I doing wrong :
In index.html :
``` <button id="go">Go</button>
In renderer :
go.addEventListener('click', () => {
console.log("GO Button Clicked")
alert("GO Button Clicked")
ipcRenderer.send('navigate', url.value)
})
In Main.js :
ipcMain.on('navigate', (event, url) => {
view.webContents.loadURL(url)
})
https://gist.github.com/vmars316/09f8cac51fe6a5f72a2c138568089505
Thanks