Forum Discussion
Code Block: Interactive Process
Thank you Kaylene. I am trying to learn to create better prompts. would you be willing to share the wording in your initial two prompts? I am curious how you described this snake layout in your prompt. I had not seen one before so wouldnt even begin to know how to describe it. This could be a foundation to create any kind of interactive process once we understand how to get it started.
- KayleneWance3 hours agoCommunity Member
Sure! I will note, I've had my work ChatGPT for about a year, so it does already know that I work in eLearning Design and Development and my main audience is adults. I didn't need to prompt it to know those things about me.
This was the initial prompt: "Could you and I work together to write code for a Rise code block to make a graph more interactive? The idea I have is that we have a process graph - but I want the user to click on each to reveal what happens at that stage/part of the process."
In the very next prompt, I noted the snaking. "...The way it will read is top to bottom. Top is the starting place, bottom is ending place. I also want this process to snake." I also gave it information of the people in order.
After I told it I wanted the process to snake - it reiterated my ask in it's answer. Here's what it gave back after telling it to snake:
"Perfect — we can “snake” this by laying the steps in a 2-column grid and drawing a connecting line that goes:
Row 1: left → right
Row 2: right → left
Row 3: left → right
Row 4: right → left…and clicking each person reveals what they do."
I hope this helps!
Related Content
- 5 months ago
- 3 months ago