Try these 7 prompts that will give you solutions asap to your coding issues. Finish your web projects faster than ever with AI!
Coding
Act as a software developer. Come up with an architecture and code for developing a [attorney] website with scheduling features using HTML.
Can you provide an HTML code snippet that creates a button with a hover effect and a link to the following page [insert URL]?
Show me how to create a CSS animation for a button when it is hovered over.
Act as a JavaScript Developer, write a program that checks the information on a form. Name and phone number are required, but email address and age are not.
Show me how to create an API reference for the given [language] library or framework: <insert code>
As a cyber security specialist. You will be provided with specific details regarding how the data is stored and shared, and your task will be to propose suitable measures to secure this data from malicious actors. This may involve recommending [insert].
Suggest ways to optimize the following function <insert function>
Writing efficient prompts for ChatGPT can definitely be a bit of an art form, but with a little practice, you'll be a pro in no time.
One of the most important things to keep in mind is the more information you can give the AI about the topic or situation you want it to respond to, the better. For example, instead of writing ‘What are some good marketing tactics for my business?‘, you could write ‘What are some effective marketing tactics for a small B2B software company targeting CIOs and IT directors that can be implemented in the next 3 months?‘.
Secondly, you can try telling the AI to assume an identity or profession to help guide its responses. For example, if you're asking the AI to provide advice on a legal matter, you could tell it to assume the role of a lawyer. This can help ensure that the AI's responses are tailored to your specific needs.
Also, do not forget to write your prompts in a conversational tone. Pretend like you're talking to a friend or colleague, and try to phrase your questions in a way that feels natural and easy to understand.
7 Best Coding ChatGPT Prompts - Cheatsheet