Summary
In this chapter, we covered how you can generate CSS using your AI assistant. You saw how prompting techniques introduced in the previous chapters can be applied to CSS as well.
Furthermore, we showed how we could generate text in two different ways, by placing a comment at the top of the file or near the area we wanted help with or placing the cursor inside a CSS class and letting it generate CSS based on the name of the CSS class.
In the next chapter, we will show how you can add behavior to your app using JavaScript. You will see how JavaScript, from a prompting aspect, is similar to HTML and CSS. However, you still need to understand the subject matter, which is the underlying problem you’re trying to solve.
Join our community on Discord
Join our community’s Discord space for discussions with the author and other readers: