By default, the font used for coding in VS Code is Consolas. If you follow this guide, you can change most fonts in VS Code, whether we're talking about the code itself, the terminal, the comments, or the explorer feature. However, if you're talking about the font found on the VS Code's official website images, no one can tell you which one was used. Unless VS Code developers explicitly reveal which font was used, there is no way of finding out.