This chapter covers
- Getting Excel data ready to use on the web
- Learning about the JSON data format
- Using ChatGPT to convert Excel data to JSON
- Using JSON data to make a web page interactive
- Crafting a ChatGPT prompt to a course catalog page
- Examining and customizing the ChatGPT-generated code
The projects you’ve seen so far in this book have produced useful and reasonably attractive web pages. However, you may have noticed one thing that’s common to the pages you’ve built with the help of ChatGPT: that’s right, they just kind of sit there. Granted, there’s nothing wrong with a page that doesn’t do much, if that page offers information that’s useful, informative, or fun. However, it can really add to a page’s appeal if the page is interactive in some way. And by “interactive,” I mean readers can manipulate the page to change what data is displayed. For example, on a page with lots of data, you might include controls that enable users to display just a subset of the data or to search the data.