 color); //emits the user choice color to server
        socket.on('result', (result)=>{ //gets the result from server
        console.log(result)
        console.log(color)
        localStorage.setItem('address',result);
        localStorage.setItem('name', color+' address');
        document.getElementById("open").click();
        // urlBar.textContent=result.message;

        // document.getElementById('submit').textContent="Vote"

            })
      
        });

        $('#mobilewallet').load(functi