From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Examine the generated code and UI
From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Examine the generated code and UI
It's time to inspect what Copilot generated, and this should be part of your regular process. Vibe coding is fun, and it's great to build something in 30 minutes, but you don't really know what's in the code yet. Is the HTML accessible? Is the UI solid? And is the code readable and safe? So don't just accept whatever Copilot spits out. Review it. There are three files for us to review, app.js, index.html, and style.css. I'll start with the JavaScript file. Now, if you scroll to the bottom of this, you'll see there's about 600 lines of code. And I'm not going to go through those line by line. So what I'll do is I'll start by pointing out a few interesting sections at the beginning of the file. And then we'll see if there's another way we can review. So at the top, we've got some comments about the application and its architecture. There's a set of defaults, a set of constants, I should say. There's a curated color palette section. These are the color palettes that we saw in the…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Prototype a Greenfield project7m 26s
-
(Locked)
Tour the graphic generation site1m 53s
-
(Locked)
Import a saved chat conversation3m 22s
-
(Locked)
How to prompt a graphic generation site4m 20s
-
(Locked)
Examine the generated code and UI5m 2s
-
(Locked)
Tour the Pedal and Pines site8m 13s
-
(Locked)
Review refactored site sections4m 36s
-
(Locked)
Review updated code and UI4m 52s
-
(Locked)
Prototype setbacks and frustrations1m 44s
-
(Locked)
Postmortems and prompt refinement2m 6s
-
(Locked)
-
-
-
-
-
-
-