scrimba
Prompt Engineering
Prompt Engineering
Challenge: Seltzer Flavor Generator
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Challenge: Seltzer Flavor Generator
AboutCommentsNotes
Challenge: Seltzer Flavor Generator
Expand for more info
index.js
run
preview
console
/* 
-n Prompt GPT to create a function that generates random seltzer water flavors like Funky Raspberry Pineapple, Wacky Strawberry Whipped Cream, Zippy Pineapple Mango [Adjective Flavor Flavor].
- Flavor titles should be capitalized!
-Give GPT example inputs and outputs (function should accept an array of adjectives and an array of flavors)
- Ask GPT to generate the arrays. Your decision if they’re delicious, weird, bizarre
- Test the function and iterate if GPT doesn’t produce exactly what you want
*/
Console
/index.html
-2:10