Here’s a quick guide to writing effective ChatGPT prompts:
- Be Clear and Specific: Clearly define what you want, including details. Avoid ambiguity.
- Set Context: Provide context if needed (e.g., explain the purpose or background of the task).
- Use Examples: Include sample outputs or formats when asking for a structured response.
- Be Direct: Ask directly for the result you want (e.g., “Summarize this article in bullet points”).
- Limit Scope if Needed: If your request can be long, set word or paragraph limits.
- Iterate on Responses: Feel free to follow up or clarify based on initial responses.
- Be Polite but Concise: No need for excessive politeness; be brief but courteous.By following these tips, you’ll get more accurate and useful results.
Learning how to prompt is a skill that can be mastered in just a few days of playing with ChatGPT and/or using it to speed up day to day development tasks.
Tasks include:
- Programming in almost any language
- Research
- Data
- General Search
- Debugging
Here are some examples on how to use ChatGPT for various use cases:
Simple question about a product:
Prompt:
vivo standing desk memory settings
Using ChatGPT as a programming / code debugging assistant:
You can use ChatGPT as a programmer to both create code from scratch, all with the right prompts, you can accelerate the prototyping and initial development process of almost any programming language.
You can have a simple prompt like the example below were you just ask a simple question that you’re curious about (previously providing the code you’re working on to the bot)
Prompt:
is it possible to have javascript on the site that triggers a color change for any text that matches “Brain Health ” to this color “color: #6ebd45;
You can provide your code (DON’T FORGET TO REMOVE SENSITIVE CREDENTIALS) to ChatGPT and then ask for it to review the code and provide a change you’d like to make to the code
Remember to be SPECIFIC. The more specificity you add, the better ChatGPT will understand your prompt. And thus the better your end result will be with what it provides back. If it doesn’t understand the prompt you provided, feel free to re-phrase your needs as ChatGPT might not understand you 100% exactly – it’s pulling from a world of information.
Prompt:
I need the new svg css for this with the
<img src=”https://esimplicity.tech/wp-content/uploads/2024/09/cloud-server.svg” class=”svg-icon” alt=”Cyber Security Icon”>
.svg-icon {
width: 50px;
height: 50px;
fill: #1f42bf; /* Default color */
transition: fill 0.3s ease; /* Smooth transition for color changes */
}
.svg-icon:hover {
fill: #ff5733; /* Change color on hover */
}
General Request Examples:
Prompt:
List activities 20