liveBook · Manning

What you will learn in Build a Website with ChatGPT

No coding experience necessary

by Paul McFedries

Chapter by chapter

Chapter 1: Introducing website creation with ChatGPT

1.1 What is ChatGPT? · 1.2 ChatGPT enables anyone to create web pages · 1.3 Understanding the types of pages you can (and can’t) create · 1.4 Using ChatGPT to help you build web pages · 1.4.1 Prompting ChatGPT · 1.4.2 Viewing ChatGPT’s results · 1.4.3 Getting the code into a file · 1.4.4 Deploying the HTML file · 1.4.5 Repeating as needed · 1.4.6 Refining and revising your prompts · 1.5 Summary

What you learn in chapter 1 →

Chapter 2: Creating and deploying your first web page

2.1 Understanding the process · 2.2 Prompting ChatGPT to generate your web page code · 2.2.1 Examining the result · 2.2.2 Checking out a few other prompts for single-page websites · 2.3 Copying ChatGPT’s web page code · 2.3.1 Saving the web page code to an HTML file · 2.4 Testing your web page in the browser · 2.5 Deploying your web page · 2.6 Summary

What you learn in chapter 2 →

Chapter 3: Working with fonts, colors, and headings

3.1 Taking a peek at this chapter’s project · 3.2 Building the personal home page · 3.2.1 Getting site title and subtitle suggestions · 3.2.2 Styling the typeface · 3.2.3 Setting the type size · 3.2.4 Working with type styles · 3.2.5 Getting typeface suggestions from ChatGPT · 3.2.6 Generating a color scheme · 3.2.7 Understanding web page headings · 3.2.8 Crafting the prompt · 3.3 Examining the personal home page code · 3.3.1 Examining the HTML · 3.3.2 Examining the CSS · 3.4 Customizing the personal home page · 3.5 Summary

What you learn in chapter 3 →

Chapter 4: Adding structure to a page

4.1 Understanding this chapter’s project · 4.2 Building the book club page · 4.2.1 Introducing the page header · 4.2.2 Introducing the page footer · 4.2.3 Introducing padding, borders, and margins · 4.2.4 Working with images · 4.2.5 Adding social media links · 4.2.6 Crafting the prompt · 4.3 Examining the code · 4.3.1 Examining the HTML · 4.3.2 Examining the CSS · 4.4 Customizing the page · 4.5 Summary

What you learn in chapter 4 →

Chapter 5: Publishing page posts

5.1 Understanding this chapter’s project · 5.2 Building the online journal page · 5.2.1 Working with accordions · 5.2.2 Generating images with GPT-4 and DALL-E · 5.2.3 Crafting the prompt · 5.3 Examining the code · 5.3.1 Examining the HTML · 5.3.2 Examining the CSS · 5.4 Customizing the page · 5.5 Summary

What you learn in chapter 5 →

Chapter 6: Adding links and navigation

6.1 Understanding this chapter’s project · 6.2 Building the information site home page · 6.2.1 Creating links · 6.2.2 Creating the navigation bar · 6.2.3 Crafting the home page prompt · 6.3 Examining the home page code · 6.3.1 Examining the HTML · 6.3.2 Examining the CSS · 6.4 Customizing the home page · 6.5 Building prompts for the other site pages · 6.6 Summary

What you learn in chapter 6 →

Chapter 7: Creating site content

7.1 Understanding this chapter’s project · 7.2 Generating and editing text with ChatGPT · 7.2.1 Getting ChatGPT to suggest writing ideas · 7.2.2 Generating ideas for how to write about a topic · 7.2.3 Getting ChatGPT help for researching a topic · 7.2.4 Getting ChatGPT to write in your own voice · 7.2.5 Rewriting post text · 7.2.6 Don’t forget the HTML tags · 7.3 Building the home page · 7.3.1 Working with hero images · 7.3.2 Crafting the home page prompt · 7.4 Examining the home page code · 7.4.1 Examining the HTML · 7.4.2 Examining the CSS · 7.4.3 Customizing the home page · 7.5 Building prompts for the other site pages · 7.6 Summary

What you learn in chapter 7 →

Chapter 8: Generating site forms

8.1 Checking out this chapter’s project · 8.2 Getting the form data sent to you · 8.2.1 Setting up a Getform account · 8.2.2 Creating a Getform endpoint · 8.3 Building a form · 8.3.1 Specifying the form’s endpoint · 8.3.2 Gathering text with text boxes · 8.3.3 Adding labels to each control · 8.3.4 Handling more text with text areas · 8.3.5 Getting yes-or-no info with check boxes · 8.3.6 Choosing one of several options with radio buttons · 8.3.7 Offering more selections with lists · 8.3.8 Submitting the form with a button · 8.4 Crafting the prompt for the event sign-up page · 8.5 Examining the event sign-up page code · 8.5.1 Examining the HTML · 8.5.2 Examining the CSS · 8.6 Customizing the event sign-up page · 8.7 Summary

What you learn in chapter 8 →

Chapter 9: Adding lists to your pages

9.1 Checking out this chapter’s project · 9.2 Building a bulleted list · 9.2.1 Handling longer list items · 9.2.2 Nesting bulleted lists · 9.2.3 Changing the bullet type · 9.3 Building a numbered list · 9.3.1 Reversing the list order · 9.3.2 Changing the list’s starting number · 9.3.3 Nesting numbered lists · 9.3.4 Changing the numbering style · 9.4 Crafting the prompt for the recipe page · 9.5 Examining the recipe page code · 9.5.1 Examining the HTML · 9.5.2 Examining the CSS · 9.6 Customizing the recipe page · 9.7 Summary

What you learn in chapter 9 →

Chapter 10: Setting up a photo gallery

10.1 Checking out this chapter’s project · 10.2 A closer look at images · 10.2.1 Checking out the <img> tag · 10.2.2 Adding placeholder images · 10.2.3 Working with image thumbnails · 10.2.4 Adding image captions · 10.3 Implementing a lightbox overlay · 10.4 The lightbox: Powered by JavaScript · 10.5 Laying out the gallery with Flexbox · 10.6 Crafting the prompt for the photo gallery · 10.7 Examining the photo gallery code · 10.7.1 Examining the HTML · 10.7.2 Examining the CSS · 10.7.3 Examining the JavaScript · 10.8 Customizing the photo gallery · 10.9 Summary

What you learn in chapter 10 →

Chapter 11: Creating a portfolio page

11.1 Getting to know this chapter’s project · 11.2 Building the portfolio page · 11.2.1 Building a card · 11.2.2 Making the image extend to the card edges · 11.2.3 Adding a shadow · 11.2.4 Rounding the corners · 11.2.5 Making your page responsive · 11.3 Crafting the prompt for the portfolio page · 11.4 Examining the portfolio page code · 11.4.1 Examining the HTML · 11.4.2 Examining the CSS · 11.5 Customizing the portfolio page · 11.6 Summary

What you learn in chapter 11 →

Chapter 12: Building an article page

12.1 Getting to know this chapter’s project · 12.2 Building the article page · 12.2.1 Reviewing the HTML page layout elements · 12.2.2 Working with the article element · 12.2.3 Including a sidebar on your page · 12.2.4 Adding new sections to the article · 12.2.5 Adding new paragraphs to the article, section, or aside · 12.2.6 Marking up special words and phrases · 12.2.7 Starting the article with a drop cap · 12.2.8 Laying out the article with CSS Grid · 12.2.9 Adjusting the article page layout for small screens · 12.2.10 Crafting the prompt for the article page · 12.3 Adding content to the page · 12.4 Examining the article page code · 12.4.1 Examining the HTML · 12.4.2 Examining the CSS · 12.5 Customizing the article page · 12.6 Summary

What you learn in chapter 12 →

Chapter 13: Coding an interactive course catalog

13.1 Checking out this chapter’s project · 13.2 Getting data from Excel · 13.2.1 Getting your Excel data ready · 13.2.2 Getting to know the JSON data format · 13.2.3 Uploading your Excel file to ChatGPT · 13.2.4 Prompting ChatGPT to convert your Excel data to JSON · 13.3 Fetching and displaying the JSON data · 13.4 Searching, sorting, and filtering the course catalog · 13.4.1 Searching the data · 13.4.2 Filtering the data · 13.4.3 Sorting the data · 13.5 Crafting the prompt for the course catalog · 13.6 Examining the course catalog code · 13.6.1 Examining the HTML · 13.6.2 Examining the CSS · 13.6.3 Examining the JavaScript · 13.7 Customizing the course catalog · 13.8 Where to go from here · 13.9 Summary

What you learn in chapter 13 →

Concepts explained in this book

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.