That could be anything – short, long, simple, fancy, with different colors or fonts.
Context: Use Tailwind CSS, colors should pop like the Google logo, and include fields like name, email, and phone.
That gives the prompt more direction.
Exemplar: You might even upload an image of a form you like – so the AI knows what kind of style you’re going for.
So that’s how prompt architecture works – task, context, and exemplar.
Once you understand this structure, you can use it not only in coding but in many areas of your life where AI can help.
Exercise.
Prompting practice
This is a practice-style task.
For this module, you’ll have a small assignment: create a simple prompt using proper prompt architecture, and then test it in the four different generative AIs we've discussed.
The goal of this task is to help you understand how prompting works.
To make it easier, here’s a breakdown of the steps:
Create a simple prompt. It doesn’t have to be about coding, although coding-related prompts are preferred since this is a coding course.
Apply the 50-40-10 rule we covered earlier – that’s task, context, and exemplar.
Use this prompt in four different AIs: ChatGPT, Claude, DeepSeek, and Gemini. Try it out and compare the results.
The main goal here is to get comfortable with using AI.
Good luck!