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.
Generate CSS based on mock-up
From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Generate CSS based on mock-up
This Word Frequency Analyzer site needs a new look. So I'm going to use an image to generate some new CSS for the site. This is what the original page looks like. And this is what the new styled page looks like. So switch over to Visual Studio Code. Let's talk about the branch. I'm currently in the Use Images branch. And this is the Word Frequency application. I made some changes. First of all, in the browser, we were looking at the old index HTML page and it's old associated style sheet. And then Copilot created, made some changes to styles.css, added a new CSS file called colors.css and updated index.html to use it. So how did I accomplish all this? Well, I first started by asking a question. It's easy to add an image to the chat. Just drag your image into the chat window like I've done here. Then you can hover over this to see what the picture looks like, or you can click on this to open it in a editor tab. My first question is, what is the color palette for this mock-up? And it…
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
(Locked)
Completions, chat, and agent modes8m 3s
-
(Locked)
Code competion: JavaScript2m 59s
-
(Locked)
Making sense of nondeterministic predictions1m 38s
-
(Locked)
Code completion: Python1m 46s
-
(Locked)
HTML and CSS completion1m 40s
-
(Locked)
More inline suggestions features3m 6s
-
(Locked)
Use comments to guide completion2m 32s
-
(Locked)
-
-
(Locked)
Use chat to ask code specific questions2m 48s
-
(Locked)
Use chat to explore a project4m 18s
-
(Locked)
Explore the Word Frequency Analyzer page1m 30s
-
(Locked)
Explain a section of code5m 53s
-
(Locked)
Guidance on potential issues2m 26s
-
(Locked)
Get refactoring suggestions2m 57s
-
(Locked)
Have Copilot draft an editing prompt3m 8s
-
(Locked)
Review the hidden reasoning workflow2m 34s
-
(Locked)
Inline chat: Exploring the code editor2m 34s
-
(Locked)
-
-
(Locked)
Create new chats3m
-
(Locked)
Chat panel vs. agent sessions3m 3s
-
(Locked)
Manage chat threads and history1m 57s
-
(Locked)
Rename a chat thread55s
-
(Locked)
Save a chat thread2m 54s
-
(Locked)
Delete a chat thread1m 56s
-
(Locked)
Customize chat settings2m 15s
-
(Locked)
Use voice and audio1m 47s
-
(Locked)
-
-
(Locked)
Prompt engineering for the agent4m 11s
-
(Locked)
Start an agent-assisted refactor2m 55s
-
(Locked)
Add blocked words to the UI2m 17s
-
(Locked)
Add additional files2m 34s
-
(Locked)
Clean up invalid charactors57s
-
(Locked)
Modernize the UI layer3m 29s
-
(Locked)
Refactor review: Outcomes and impact1m 53s
-
(Locked)
-
-
(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)
-
-
(Locked)
Understand cloud and background agents5m 12s
-
(Locked)
Plan mode in Copilot: Quick review2m 25s
-
(Locked)
Session panel2m 23s
-
(Locked)
Create a plan5m 15s
-
(Locked)
Save plan as markdown1m 42s
-
(Locked)
Run the plan on background agent1m 40s
-
(Locked)
Use terminal with background agent2m
-
(Locked)
The Git worktree2m
-
(Locked)
Review the changes1m
-
(Locked)
Merge the changes1m 28s
-
(Locked)
-
-
(Locked)
MCP overview6m 35s
-
(Locked)
Query a database with an MCP server4m 9s
-
(Locked)
Generate TypeScript DB access code1m 23s
-
(Locked)
Understand mcp.json setting2m 13s
-
(Locked)
Enable catalog browsing in the Extensions panel1m
-
(Locked)
Install other MCP servers with the Extension panel3m 12s
-
(Locked)
Find MCP servers on GitHub2m 53s
-
(Locked)