← Back to Coding and Programming
πŸ’» Coding and Programming ChatGPT beginner

Act as a Front-End Developer with 5+ Years of Experience

πŸ“‹ The Prompt β€” Copy & Paste Ready
Act as a front-end developer with 5+ years of experience in HTML5, CSS, and JavaScript. Design a responsive drag-and-drop interface using HTML5's native Drag and Drop API. The interface should allow users to [DRAG ITEMS] from a sidebar and drop them into a [TARGET CONTAINER]. Each item should display [CUSTOM METADATA] (e.g., name, icon, or description) when hovered. Ensure the solution is cross-browser compatible, includes smooth animations for drag operations, and provides visual feedback (e.g., highlighting drop zones). Use vanilla JavaScriptβ€”no external libraries. Include error handling for invalid drops and a way to serialize/deserialize the state of the interface. Provide clean, commented code with best practices for accessibility and performance.

How to use this prompt

1
Click Copy Full Prompt above.
2
Replace all [BRACKETS] with your details.
3
Paste into ChatGPT, Claude or Gemini and hit send.

Rate this prompt

β˜… β˜… β˜… β˜… β˜…
Tap a star to rate

Comments (0)

Frequently Asked Questions

I recommend React, Angular, and Vue.js for scalable web applications. React offers a flexible component-based architecture, Angular provides a robust full-fledged framework, and Vue.js is lightweight yet powerful for rapid development.
Optimizing front-end performance involves code splitting, lazy loading, and minimizing render-blocking resources. Using tools like Webpack for bundling and leveraging browser caching can significantly improve load times and user experience.
Best practices include using CSS Grid and Flexbox for layouts, adopting a mobile-first approach, and testing across multiple devices. Media queries and relative units like REM/EM ensure consistent responsiveness across screen sizes.
I use tools like Babel for JavaScript transpilation and Autoprefixer for CSS vendor prefixes. Regular testing on browsers like Chrome, Firefox, Safari, and Edge ensures compatibility, along with progressive enhancement techniques.
Accessibility ensures all users, including those with disabilities, can interact with your site. Implementing ARIA labels, semantic HTML, and keyboard navigation improves usability and complies with WCAG guidelines for inclusivity.
Related Keywords
act as a front-end developer with 5+ years of experience, free coding and programming prompts, coding and programming chatgpt prompts, ai prompts for coding and programming, coding and programming prompt template, chatgpt coding and programming 2026, best coding and programming ai prompts, act as a front-end developer with 5+ years of experience chatgpt, coding and programming claude prompts, free ai prompt coding and programming, coding and programming prompt generator, coding and programming ai assistant, promptxy coding and programming
βœ“ Prompt copied!