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 the CSS we need and how to keep applying the prompting patterns and strategies we’ve used in previous chapters. We will continue to build on the e-commerce project and give it an appealing appearance.
In this chapter, we will:
- Generate CSS...