Basic
Getting up and running with Visual Studio Code is quick and easy. It is a small download so you can install in a matter of minutes.
- Download the Visual Studio Code Installer for windows.
- Once it is downloaded, run the installer
VSCodeUserSetup-{version}.exe
. This will only take a minute. - By default, VS Code is installed under
C:\Users\{Username}\AppData\Local\Programs\Microsoft VS Code
.
Make sure to restart your console after the installation as setup will add Visual Studio Code to your %PATH%
, so from the console you can type 'code .' to open VS Code on that folder.
This is so that the %PATH%
environmental variable can take effect.
Alternatively you can also download a Zip Archive, extract it and run the code from there.
- Download Visual Studio Code for macOS.
- Open the browser's download list and locate the downloaded app or archive.
- If archive, extract the archive contents. Use double-click for some browsers or select the 'magnifying glass' icon with Safari.
- Drag
Visual Studio Code.app
to the Applications folder, making it available in the macOS Launchpad. - Open VS Code from the Applications folder, by double clicking the icon.
- Add VS Code to your Dock by right-clicking on the icon, located in the Dock, to bring up the context menu and choosing Options, Keep in Dock.
Launching from the command line.
-Launch VS Code.
-Open the Command Palette Cmd+Shift+P
and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
-Restart the terminal for the new $PATH
value to take effect. You'll be able to type 'code .' in any folder to start editing files in that folder.
Note: If you still have the old code
alias in your .bash_profile
(or equivalent) from an early VS Code version, remove it and replace it by executing the Shell Command: Install 'code' command in PATH
command.
See the Download Visual Studio Code page for a complete list of available installation options.
The easiest way to install Visual Studio Code for Debian/Ubuntu based distributions is to download and install the .deb package (64-bit), either through the graphical software center if it's available, or through the command line with:
sudo apt install ./<file>.deb
# If you're on an older Linux distribution, you will need to run this instead:
# sudo dpkg -i <file>.deb
# sudo apt-get install -f # Install dependencies
Note that other binaries are also available on the VS Code download page.
Installing the .deb package will prompt to install the apt repository and signing key to enable auto-updating using the system's package manager. To automatically install the apt repository and signing key, such as on a non-interactive terminal, run the following command first:
echo "code code/add-microsoft-repo boolean true" | sudo debconf-set-selections
The apt repository and key can also be installed manually with the following script:
sudo apt-get install wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" |sudo tee /etc/apt/sources.list.d/vscode.list > /dev/null
rm -f packages.microsoft.gpg
Then update the package cache and install the package using:
sudo apt install apt-transport-https
sudo apt update
sudo apt install code # or code-insiders
For other distributions, check out this page for more info.
2. HTML5
- HTML Structure
- Tags & Elements
3. CSS3
- Basic Styling
- Learn about adding colors and typography
- Learn how Class and IDs work with HTML tags
- Learn about Pseudo Classes
4. JavaScript
- JS Output
- JS Statements
- JS Logical Conditions
- JS Syntax
- JS Comments
- JS Variables, Let & Const
- JS Operators (+, -, x, ÷)
- JS Data Types
Intermediate
1. HTML
- HTML Forms
- HTML Canvas
- SVG
- Adding Media (Video, Audio, Embeds)
2. CSS
- Styling Forms
- Attributes Selectors
- Measurement Units (px, rem, em, %, vh, vw)
- Layout
- CSS Variables
- Using Web Fonts
- Responsiveness
3. JavaScript
- JS Loops
- JS Objects
- JS Classes
- JS Events
- JS Functions
- JS Strings and Numbers (Methods)
- JS Arrays
- JS Dates
- Math
- JS Scope
- JS Hoisting
- DOM Manipulation Basics
4. Git & GitHub
- Creating/Initialising a Repo
- Commits
- Push & Pull
- Pull/merge Requests
- Branches
Advanced
1. Javascript
- Arrow Functions
- Destructuring
- Spread and Rest Operators
- Promises and Async/Await
- Modules (import/export)
2. React.js Basics
- JSX
- Components
- Props and State
- Hooks: e.g useEffect, useState
- Events in React
- Simple Routing with React Router
Basic
- Simple Recipe App
- Dog Photo App
- Pricing component for a physical product
Intermediate
- Clone a popular website
- Weather App
- Tip Calculator
- Random fun facts website
Advanced
Work on the following projects to enhance your React skills. These projects can also be implemented using HTML, CSS, and JavaScript, providing ample opportunities to practice and improve.
- Space tourism multi-page website
- REST Countries API with color theme switcher
- Rock, Paper, Scissors game
To get started, visit frontend mentor, create an account and dive into these projects.
- W3schools
- FreeCodeCamp - Responsive Web Design
- CSS-Tricks - "HTML & CSS – The VERY Basics
- HTML Handbook
- CSS Handbook