Video Lesson

Lesson Notes

Installing the "Open in Browser" Extension and Creating Your First HTML Page

In this video, we walk through how to install the Open in Browser extension for VS Code and create your very first index.html file using AI assistance (GPT-4.0.1). Follow along with these steps:

Step-by-Step Instructions

  1. Install the Open in Browser Extension

    • Open VS Code.
    • Go to the Extensions view (Cmd+Shift+X on Mac or Ctrl+Shift+X on Windows).
    • Search for "Open in Browser".
    • Install the one published by TechER.
  2. Use Ask Mode with GPT-4.0.1

    • Make sure you're using Ask Mode with GPT-4.0.1
    • Ask it to create a basic index.html file in the root of your project.
    • When prompted, allow the file to be created.
  3. View Your HTML in the Browser

    • Right-click on the newly created index.html file.
    • Select "Open in Default Browser" from the context menu.
    • You should now see your very first webpage open in your browser!

You’re all set to start coding

Here is the code for the index.html page if you want to have an exact copy of my code.

1<!DOCTYPE html> 2<html lang="en"> 3<head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 <title>My Project</title> 7</head> 8<body> 9 <h1>Welcome to My Project</h1> 10</body> 11</html>

AI Assistant

Sign In Required

Sign in and subscribe to use the AI assistant for instant help with your lessons.

Sign In

Creating Your First HTML Page with VS Code and AI

In this quick tutorial, I walks you through installing the "Open in Browser" extension in VS Code, creating your first index.html file using GPT-4.0.1, and viewing it in your browser. A perfect starting point for beginners learning web development with AI tools like GitHub Copilot.

1m 8s

Course Content

0 of 32 lessons completed
6. Promises, Async and Await
0 of 0 completed
7. The DOM
0 of 0 completed