From the course: AI-Powered Development: GitHub Copilot in Visual Studio

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

View the generated HTML and CSS

View the generated HTML and CSS

- [Instructor] In the last video, we explored how an image can influence the answers that Copilot generates. In this video, we're taking a closer look at the CSS that was generated, specifically how it differs when using a standard text prompt versus an image-based prompt. Now the way this works is I've made some files here in this ChatExamples folder. I've added the two CSS files here, and I've also added some markdown files that contain the chat results from both examples. This makes it easy to do a direct comparison to how the model interpreted each prompt. They are in this project if you want to review them, but we'll focus on the CSS. So just remember, here's what I ask, the question I ask in my text-based prompt, and here's what I ask in the image-based prompt. Based on this image, Generate HTML and CSS based on this image. So now let's go over here and we'll look at basic. And I'll go ahead and add this to…

Contents