The simplest way is probably to install Visual Studio Code throught the Ubuntu Software Manager:
The second option is to download the package from this address: https://code.visualstudio.com/Download. Once the package is downloaded, it can be install through Software Manager or command line :
sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install
The last option is to install Visual studio Code through snap:
sudo snap install vscode