VS Code with the Live Server extension
VS Code is Microsoft's free code editor for Windows, macOS, and Linux, including Chromebooks with Linux turned on. Live Server, a free extension, serves your project folder at a local web address and reloads the browser every time you save. Chrome or Firefox DevTools let you inspect every element and see which CSS rules apply. On a computer where you can't install anything, CodePen in the browser covers single-page exercises.
VS Code with the Live Server extension
FreeVS Code is Microsoft's free code editor for Windows, macOS, and Linux, including Chromebooks with Linux turned on. Live Server, a free extension, serves your project folder at a local web address and reloads the browser every time you save. Chrome or Firefox DevTools let you inspect every element and see which CSS rules apply. On a computer where you can't install anything, CodePen in the browser covers single-page exercises. Every lesson is readable text with copyable code, keyboard-friendly quizzes and step-throughs, and videos with YouTube captions.
- Download and install VS Code from code.visualstudio.com (on a Chromebook, turn on the Linux development environment first and install the .deb file).
- Open the Extensions view (Ctrl+Shift+X, or Cmd+Shift+X on a Mac), search for Live Server by Ritwick Dey, and install it.
- Make a folder called first-page, open it with File โบ Open Folder, and create index.html.
- Type ! and press Enter to generate a page skeleton, add an h1 heading, save, and click Go Live in the status bar.