Please enable JavaScript to use CodeHS

  • AI

Prompt Engineering for Coding

In this project, students learn about what makes a good prompt in the context of programming. Students will be given an image with the goal of getting ChatGPT (or another generative AI model) to write the code in p5.js. While an understanding of p5.js will benefit students, this project can be completed without any knowledge of the language.

Medium

2 Hours

High School

Middle School

Project Description

Project Demo

Explore this program before assigning it!