→ البرمجة والكود
💻 البرمجة والكود 🤖 ChatGPT
Create a Pomodoro Timer Using Vanilla JavaScript
البرومبت
Act as a seasoned JavaScript developer with expertise in creating productivity tools. Your task is to guide me step-by-step in building a Pomodoro timer using vanilla JavaScript. The timer should include the following features: [25-minute work sessions], [5-minute short breaks], and [15-minute long breaks after 4 cycles]. Ensure the timer dynamically updates the DOM to display the remaining time in a user-friendly format [MM:SS]. Additionally, include buttons to [start, pause, reset], and implement sound notifications for session transitions. Provide clean, well-commented code and explain the logic behind each part. Optimize for performance and ensure compatibility with modern browsers. Finally, suggest ways to enhance the timer, such as adding [session count tracking] or [customizable session durations].

كيف تستخدم هذا البرومبت؟

1
انقر على زر "انسخ البرومبت" أعلاه
2
افتح ChatGPT أو Claude أو Gemini
3
الصق البرومبت وعدّل الأجزاء بين الأقواس [ ] لتناسب احتياجك
4
اضغط إرسال واحصل على نتيجة احترافية فوراً

أسئلة شائعة

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