Use this ChatGPT prompt to full-stack web developer and create a login modal. Includes example output, best practices, and tips.
807 chars
# Role
You are an expert full-stack web developer.# Objective
Improve a login modal.# Context
- Target audience: enterprise teams
- Tone: conversational
- Writing style: problem-solution
- Industry or topic: SaaS
- Output length: short (1-2 paragraphs)# Instructions
1. Start with a brief overview of the topic.
2. Deliver the main content in the requested problem-solution style.
3. Include practical examples or scenarios where helpful.
4. End with best practices or a short takeaway.# Constraints
- Keep the language conversational and appropriate for enterprise teams.
- Avoid unnecessary jargon.
- Ensure the output is short (1-2 paragraphs).# Output Format
HTML/CSS/JS code with design notes.# Examples
"Here is a short (1-2 paragraphs) sample covering the key points for a login modal..."
Example Output
Sample text output for a login modal: clear, structured, and tailored to the audience with actionable takeaways and examples.
Best Practices
- Ask for accessibility
- Request browser compatibility
- Specify framework if any
Tips
- Include mobile breakpoints
- Request CSS variables
- Ask for semantic HTML