6 Adding links and navigation

This chapter covers

  • Creating links to other sites and pages
  • Creating a navigation bar for your site
  • Asking ChatGPT to help you design your pages
  • Prompting ChatGPT to build an information website for an organization
  • Examining and customizing ChatGPT’s web page code

In each of the web projects you’ve seen so far in this book, you’ve cajoled ChatGPT into providing you with the code for a single web page. One-page websites are legion on the web, but it’s more common for a site to have two or more pages. Once you add that second page, however, questions quickly arise: How do you get a site visitor from your home page to the other page? And once someone gets to that other page, how do you get them back to the home page? ...

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.