4 Adding structure to a page
This chapter covers
- The role of the page header and footer
- Inserting an image into a web page
- Adding links to social media sites
- Prompting ChatGPT to build a book club page
- Examining and customizing the ChatGPT web page code
In chapter 3, you learned how to get ChatGPT to help you build a personal home page. One of the big takeaways from that process is that the more specific your prompt, the more the resulting code reflects your requirements, and the closer the resulting page will be to your original page vision.
Two aspects that might have surprised you about the process in chapter 3 were the length of the final prompt and the amount of detail it contained. However, long, detailed prompts are the only way to ensure ...
Get Build a Website with ChatGPT 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.