sunil
Hello I followed the instruction provided by the Ethereum-project 1 - Creating the web. 
if(typeof (web3)=='undefined')
{
console.log("Please connect to Metamask");
}
else{
 
console.log("Found injected Web3");
console.log(web3.version.network);
ethereum.enable();
if(web3.version.network!=4)
{
console.log("Wrong network detected");
 
}
else{
console.log("Connected to Rinkby network");
}
}
web3.version.network - is null, I am not sure how to fix it 




Reply 0 0
admin

Hello Sunil

 

Please do share the course details in which you are facing the issue.

 


Regards,
Team Blockchain Council

Reply 0 0
Reply