8 Generating site forms

This chapter covers

  • Dealing with text boxes and text areas
  • Working with check boxes and radio buttons
  • Adding selection lists and buttons to a form
  • Using the free Getform service to have form data sent to you
  • Crafting a ChatGPT prompt for building an event sign-up page
  • Examining and customizing the ChatGPT- generated code

Most web pages—and all the web projects so far in this book—are read-only media, meaning their purpose is to present each visitor with information related to the page’s main topic. Such pages require nothing of the visitor except their time and attention (which are big asks in these overly busy times!).

However, there are plenty of scenarios where you’ll want your page to be more interactive, meaning ...

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.