5

Style the App with CSS and Copilot

Introduction

Styling an app well can make a huge difference in how a user perceives it. Well-thought-out styling includes catering to multiple devices, the smart use of graphics, and colors with great contrast.

CSS styling is a big topic, and we will not cover it in detail. However, we will show how you can start using it. Just like in the previous chapter, we will use our AI assistant to help us generate code. You will see how we will keep using comment-based prompting to generate code but also a new technique where nothing but the file’s context is used for code generation.

You will also see how we will keep building on our e-commerce project and style it.

In this chapter, we will see how we can generate ...

Get AI-Assisted Programming for Web and Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.