البرومبت
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.
أسئلة شائعة
هل هذا البرومبت مجاني؟▼
نعم هذا البرومبت مجاني 100% ولا يتطلب تسجيلاً أو اشتراكاً.
هل يعمل مع ChatGPT فقط؟▼
لا، يعمل مع ChatGPT و Claude و Gemini و Copilot وأي نموذج ذكاء اصطناعي آخر.
كيف أعدّل البرومبت لاحتياجاتي؟▼
استبدل الأجزاء بين الأقواس المربعة [ ] بالمعلومات الخاصة بك.