Turn an idea into a working interactive page — without writing code. حوّل فكرتك إلى صفحة تفاعلية عاملة، دون كتابة برمجة.
This studio walks you through a short set of questions, then writes a precise instruction (a "prompt") you can paste into Claude or ChatGPT. The AI builds your page. You save it. You open it. Done. يأخذك هذا الاستوديو عبر مجموعة قصيرة من الأسئلة، ثم يصيغ تعليمة دقيقة (تُعرف بـ"التوجيه" أو "البرومبت") يمكنك لصقها في Claude أو ChatGPT. يقوم الذكاء الاصطناعي ببناء صفحتك. تحفظها. تفتحها. وانتهى الأمر.
What you need to know — in five short ideas. ما تحتاج معرفته — في خمس أفكار قصيرة.
Read these before you build your first prompt. They will save you a lot of confusion later. اقرأ هذه قبل إنشاء أول توجيه. ستوفر عليك الكثير من الالتباس لاحقاً.
What is an AI assistant? ما هو مساعد الذكاء الاصطناعي؟
Claude, ChatGPT, and Gemini are conversation tools. You type an instruction (called a prompt); they reply with text, code, or both. They can write essays, summarise documents, translate, and yes — write the full code of an interactive web page. Claude وChatGPT وGemini هي أدوات محادثة. تكتب تعليمة (تُسمى توجيهاً) فترد عليك بنص أو كود أو كليهما. تستطيع كتابة المقالات، وتلخيص الوثائق، والترجمة، ونعم — كتابة الكود الكامل لصفحة ويب تفاعلية.
What is an "interactive HTML page"? ما هي "صفحة HTML تفاعلية"؟
It is a single file that, when opened in a web browser, behaves like a small app. You can click buttons, switch tabs, fill quizzes, open and close sections — all without needing the internet. The file ends in .html.
هي ملف واحد يتصرف عند فتحه في متصفح الويب كتطبيق صغير. يمكنك الضغط على الأزرار، وتبديل التبويبات، وملء الاختبارات، وفتح وإغلاق الأقسام — كل ذلك دون الحاجة إلى الإنترنت. ينتهي الملف بـ.html.
What is a prompt? ما هو التوجيه (البرومبت)؟
A prompt is your instruction to the AI. The clearer your prompt, the better your result. A vague prompt ("make me a website about safety") gives a vague answer. A detailed prompt (specifying purpose, audience, style, sections, interactivity) gives a polished answer. This studio writes detailed prompts for you. التوجيه هو تعليمتك للذكاء الاصطناعي. كلما كان توجيهك أوضح، كانت النتيجة أفضل. التوجيه الغامض ("اصنع لي موقعاً عن السلامة") يعطي إجابة غامضة. التوجيه المفصل (الذي يحدد الغرض، الجمهور، الأسلوب، الأقسام، التفاعل) يعطي إجابة متقنة. يكتب لك هذا الاستوديو توجيهات مفصلة.
What will the AI give me back? ماذا سيعطيني الذكاء الاصطناعي؟
It depends on the tool. Claude usually opens a preview window (called an Artifact) where you can see your page working straight away. ChatGPT often opens a similar preview (called Canvas), or gives the code inside a grey box. Either way, you copy the code, save it as a file, and double-click to open it. يعتمد على الأداة. Claude عادةً يفتح نافذة معاينة (تُسمى Artifact) ترى فيها صفحتك تعمل مباشرة. ChatGPT غالباً يفتح معاينة مشابهة (تُسمى Canvas)، أو يعطي الكود داخل صندوق رمادي. في كل الأحوال، تنسخ الكود، تحفظه كملف، وتنقر نقراً مزدوجاً لفتحه.
It will not be perfect first time لن تكون النتيجة مثالية من المرة الأولى
Expect to refine. The first reply is your draft. You ask for changes — bigger fonts, different colour, fix this button, add that section — and the AI rewrites it. This is normal and expected. Section 06 gives you ready-to-paste refinement prompts. توقع التعديل. الرد الأول هو المسودة. تطلب تغييرات — خط أكبر، لون مختلف، أصلح هذا الزر، أضف ذلك القسم — ويعيد الذكاء الاصطناعي الكتابة. هذا أمر طبيعي ومتوقع. القسم 06 يعطيك توجيهات تحسين جاهزة للصق.
Answer eight questions. We write the prompt. أجب عن ثمانية أسئلة، ونحن نكتب التوجيه.
There are no wrong answers. The more specific you are, the better your result. You can come back and edit anything later. لا توجد إجابات خاطئة. كلما كنت أكثر تحديداً، كانت النتيجة أفضل. يمكنك العودة وتعديل أي شيء لاحقاً.
What is the purpose of your page? ما الغرض من صفحتك؟
In one sentence, describe what the page is for. Pick a starting point below, then refine. في جملة واحدة، صِف الغرض من الصفحة. اختر نقطة بداية أدناه، ثم حسّن.
Who is it for? لمن هي موجهة؟
Knowing your audience shapes the tone, depth, and language. معرفة جمهورك تشكّل النبرة، والعمق، واللغة.
What are the main sections? ما هي الأقسام الرئيسية؟
List the chapters or sections your page should cover. Aim for 3 to 7. Add one at a time. عدّد الفصول أو الأقسام التي ينبغي أن تغطيها صفحتك. استهدف من 3 إلى 7. أضف واحداً في كل مرة.
Empty list is OK — the AI will propose its own structure. القائمة الفارغة مقبولة — سيقترح الذكاء الاصطناعي هيكله الخاص.
Pick a visual style اختر أسلوباً بصرياً
Or describe your own at the bottom. These presets are starting points the AI will interpret. أو صف أسلوبك في الأسفل. هذه القوالب نقاط بداية يفسرها الذكاء الاصطناعي.
If you fill this in, it overrides the preset. Be specific about colours and fonts. إذا ملأت هذا، فإنه يلغي القالب. كن محدداً بشأن الألوان والخطوط.
What language should the page be in? بأي لغة تكون الصفحة؟
This is the language of the final page you build, not the prompt itself. هذه لغة الصفحة النهائية التي تبنيها، وليست لغة التوجيه نفسه.
What kind of interactivity do you want? أي نوع من التفاعل تريد؟
Tick all that apply. Two or three is a good number — too many and the page gets cluttered. أشّر على كل ما ينطبق. اثنان أو ثلاثة عدد جيد — أكثر من ذلك تصبح الصفحة مزدحمة.
How long should the page be? ما طول الصفحة؟
Longer means deeper, but slower to generate and review. الأطول يعني أعمق، لكنه أبطأ في التوليد والمراجعة.
Anything else the AI should know? أي شيء آخر ينبغي للذكاء الاصطناعي معرفته؟
Mention any reference material, data, specific facts, or constraints. If you have images, describe them — you will attach them yourself in the AI tool. Leave blank if not needed. اذكر أي مواد مرجعية أو بيانات أو حقائق محددة أو قيود. إذا كانت لديك صور، صفها — وستُرفقها بنفسك في أداة الذكاء الاصطناعي. اتركها فارغة إن لم تكن مطلوبة.
Ready to copy and paste. جاهز للنسخ واللصق.
Pick a mode. One-shot is faster but less polished. Staged uses four short prompts in sequence and usually gives a much better result. اختر طريقة. توجيه واحد أسرع لكنه أقل صقلاً. متدرج يستخدم أربعة توجيهات قصيرة بالتسلسل ويعطي عادةً نتيجة أفضل بكثير.
Send these one at a time. Wait for the AI's reply before sending the next. This produces noticeably better results. أرسلها واحداً تلو الآخر. انتظر رد الذكاء الاصطناعي قبل إرسال التالي. هذا ينتج نتائج أفضل بشكل ملحوظ.
Turn the AI's reply into a working file. حوّل رد الذكاء الاصطناعي إلى ملف عامل.
Both tools work slightly differently. Follow the column for the one you used. الأداتان تعملان بطريقة مختلفة قليلاً. اتبع العمود الخاص بالأداة التي استخدمتها.
ClaudeClaude
- Look at the right side of the chat — there should be a preview window showing your page running. انظر إلى الجانب الأيمن من المحادثة — ينبغي أن تكون هناك نافذة معاينة تعرض صفحتك وهي تعمل.
- At the top-right of the preview, look for a download icon or the menu (three dots). Click it and choose Download or Copy code. في الجانب الأيمن العلوي من المعاينة، ابحث عن أيقونة تنزيل أو القائمة (ثلاث نقاط). انقرها واختر تنزيل أو نسخ الكود.
-
If you downloaded: the file is already
.html— double-click to open in your browser. Done. إذا نزّلت: الملف بالفعل.html— انقر مرتين لفتحه في متصفحك. انتهى. - If you copied the code: follow the manual save steps below. إذا نسخت الكود: اتبع خطوات الحفظ اليدوي أدناه.
- In the top-right of the grey code box, click Copy. في الجانب الأيمن العلوي من صندوق الكود الرمادي، انقر نسخ.
- Follow the manual save steps below. اتبع خطوات الحفظ اليدوي أدناه.
ChatGPTChatGPT
- A Canvas window opens on the right of the chat with your page. تفتح نافذة Canvas على يمين المحادثة بصفحتك.
-
Click the download icon (top-right of the canvas). It usually saves the file directly as
.html. انقر أيقونة التنزيل (أعلى يمين canvas). عادةً يحفظ الملف مباشرة كـ.html. - Double-click the downloaded file to open it in your browser. انقر مرتين على الملف المنزّل لفتحه في متصفحك.
- In the top-right of the grey code box, click Copy code. في الجانب الأيمن العلوي من صندوق الكود الرمادي، انقر نسخ الكود.
- Follow the manual save steps below. اتبع خطوات الحفظ اليدوي أدناه.
Manual save — works for any tool الحفظ اليدوي — يعمل مع أي أداة
On Windowsعلى Windows
- Press the Windows key, type Notepad, press Enter. اضغط على مفتاح Windows، اكتب Notepad، اضغط Enter.
- Click into the empty window. Press Ctrl + V to paste the copied code. انقر في النافذة الفارغة. اضغط Ctrl + V للصق الكود المنسوخ.
- Press Ctrl + S. The save window appears. اضغط Ctrl + S. تظهر نافذة الحفظ.
-
In the File name field, type a name ending in
.html, for examplemy-guide.html. في حقل اسم الملف، اكتب اسماً ينتهي بـ.html، مثلاًmy-guide.html. -
In the Save as type dropdown, choose All Files (very important — otherwise Windows will add
.txtautomatically). في القائمة المنسدلة Save as type، اختر All Files (مهم جداً — وإلا سيضيف Windows.txtتلقائياً). - Click Save. Find the file on your Desktop or in Documents. Double-click it — your page opens in the browser. انقر Save. اعثر على الملف على سطح المكتب أو في المستندات. انقر مرتين عليه — تفتح صفحتك في المتصفح.
my-guide.html.txt instead of my-guide.html, you forgot to choose "All Files". Right-click the file → Rename → remove the .txt at the end.
إذا كان ملفك يُدعى my-guide.html.txt بدلاً من my-guide.html، فقد نسيت اختيار "All Files". انقر بالزر الأيمن على الملف → Rename → احذف .txt من النهاية.
On Macعلى Mac
- Press Cmd + Space, type TextEdit, press Return. اضغط Cmd + Space، اكتب TextEdit، اضغط Return.
- In the menu bar, click Format → Make Plain Text. This is essential. في شريط القوائم، انقر Format → Make Plain Text. هذا ضروري.
- Click into the document. Press Cmd + V to paste. انقر في الوثيقة. اضغط Cmd + V للصق.
-
Press Cmd + S. Type the file name ending in
.html. اضغط Cmd + S. اكتب اسم الملف ينتهي بـ.html. - If a window asks "Use .html?" or "Append .txt?", choose Use .html. إذا سألت نافذة "Use .html?" أو "Append .txt?"، اختر Use .html.
- Find the file in Finder, double-click — it opens in Safari or Chrome. اعثر على الملف في Finder، انقر مرتين — يفتح في Safari أو Chrome.
.html file is a single self-contained file. You can email it as an attachment, share it on Teams, or put it on a USB. Anyone can open it by double-clicking — no software needed beyond a web browser.
ملف .html الخاص بك ملف واحد مكتفٍ بذاته. يمكنك إرساله بالبريد الإلكتروني كمرفق، أو مشاركته عبر Teams، أو وضعه على USB. يستطيع أي شخص فتحه بالنقر المزدوج — لا يلزم أي برنامج غير متصفح الويب.
Make it better. Or fix what is broken. اجعلها أفضل. أو أصلح ما هو معطّل.
Two parts: ready-to-paste refinement prompts, and troubleshooting for common problems. جزءان: توجيهات تحسين جاهزة للصق، وإصلاح المشكلات الشائعة.
Part A — Refinement prompts الجزء أ — توجيهات التحسين
After the AI gives you the first version, paste any of these into the same conversation to refine. بعد أن يعطيك الذكاء الاصطناعي النسخة الأولى، الصق أياً من هذه في نفس المحادثة للتحسين.
Make the styling more refinedاجعل التصميم أكثر صقلاً
When the first result looks generic or "AI-made". عندما تبدو النتيجة الأولى عامة أو "آلية".
Add a new sectionأضف قسماً جديداً
When you want to extend the page with extra content. عندما تريد توسيع الصفحة بمحتوى إضافي.
Fix something that does not workأصلح شيئاً لا يعمل
When a button, tab, or interaction is broken. عندما يكون زر أو تبويب أو تفاعل معطلاً.
Improve the Arabic versionحسّن النسخة العربية
When Arabic text reads awkwardly or the layout breaks in RTL. عندما يقرأ النص العربي بشكل غير سلس أو ينكسر التخطيط في الاتجاه من اليمين إلى اليسار.
Make it work on mobileاجعلها تعمل على الجوال
When the layout breaks on phone screens. عندما ينكسر التخطيط على شاشات الهواتف.
Change the colour schemeغيّر مخطط الألوان
When the palette is wrong or not branded. عندما تكون لوحة الألوان خاطئة أو غير متوافقة مع العلامة.
Part B — Troubleshooting الجزء ب — حل المشكلات
Tap any problem to see the fix. انقر أي مشكلة لرؤية الحل.
Go to section 05 (Save & Open). Follow the column for the tool you used. The short version: copy the code, open Notepad (Windows) or TextEdit (Mac), paste, save with a name ending in .html, double-click to open.
انتقل إلى القسم 05 (الحفظ والفتح). اتبع العمود الخاص بالأداة التي استخدمتها. النسخة المختصرة: انسخ الكود، افتح Notepad (Windows) أو TextEdit (Mac)، الصق، احفظ باسم ينتهي بـ.html، انقر مرتين لفتحه.
Almost always one of three causes: دائماً تقريباً واحد من ثلاثة أسباب:
- The code was cut off mid-way. The AI's reply has a limit. Ask: "The file was cut off. Please continue from where you stopped." الكود قُطع في المنتصف. لرد الذكاء الاصطناعي حد. اطلب: "الملف قُطع. من فضلك تابع من حيث توقفت."
- A quotation mark got changed by your text editor (especially TextEdit on Mac in Rich Text mode). Re-do the save with Plain Text turned on. علامة اقتباس تغيّرت بسبب محرر النصوص (خاصة TextEdit على Mac في وضع Rich Text). أعد الحفظ مع تفعيل Plain Text.
- There is a real bug. Paste this into the chat: "The interactive elements don't work when I open the file. Please find and fix the JavaScript error." يوجد خلل حقيقي. الصق هذا في المحادثة: "العناصر التفاعلية لا تعمل عند فتح الملف. من فضلك ابحث عن خطأ JavaScript وأصلحه."
Three things to check: ثلاثة أمور للتحقق منها:
- Font — ask the AI to use
Noto Sans Arabicfrom Google Fonts. Some default fonts don't include Arabic. الخط — اطلب من الذكاء الاصطناعي استخدامNoto Sans Arabicمن Google Fonts. بعض الخطوط الافتراضية لا تتضمن العربية. - Direction — ask: "When Arabic is active, make sure the whole body has dir='rtl' and the layout flips correctly." الاتجاه — اطلب: "عند تفعيل العربية، تأكد من أن كامل body له dir='rtl' وأن التخطيط ينقلب بشكل صحيح."
- Encoding — make sure the file starts with
<meta charset="UTF-8">. Almost always already present, but worth checking. الترميز — تأكد من أن الملف يبدأ بـ<meta charset="UTF-8">. عادةً موجود، لكن جدير بالتحقق.
Type back: "Please continue from where you stopped. Pick up at the exact line you ended on, do not repeat earlier code." Then concatenate both replies into one file before saving. اكتب: "من فضلك تابع من حيث توقفت. ابدأ من السطر الذي انتهيت عنده بالضبط، لا تكرر الكود السابق." ثم اجمع الردين في ملف واحد قبل الحفظ.
Better: ask first time around for "the most compact version possible — minimise whitespace and comments". This helps the file fit in one reply. الأفضل: اطلب من المرة الأولى "النسخة الأكثر إحكاماً الممكنة — قلّل المسافات والتعليقات". هذا يساعد على احتواء الملف في رد واحد.
Use the "Make styling more refined" prompt in Part A above. Be specific. Tell it the feel you want — "newspaper editorial", "executive briefing", "luxury minimal". Name fonts you like. Give exact hex colours. The AI will follow precise instructions; vague ones produce generic results. استخدم توجيه "اجعل التصميم أكثر صقلاً" في الجزء أ أعلاه. كن محدداً. أخبرها بالإحساس الذي تريده — "تحريري صحفي"، "عرض تنفيذي موجز"، "مبسط فاخر". سمِّ الخطوط التي تحبها. أعطِ ألواناً hex دقيقة. الذكاء الاصطناعي يتبع التعليمات الدقيقة؛ الغامضة منها تنتج نتائج عامة.
Use the "Make it work on mobile" prompt in Part A. Then re-test on your phone. To open the file on your phone, email it to yourself or upload to OneDrive/Google Drive and open from there. استخدم توجيه "اجعلها تعمل على الجوال" في الجزء أ. ثم اختبرها مجدداً على هاتفك. لفتح الملف على هاتفك، أرسله بالبريد إلى نفسك أو ارفعه إلى OneDrive/Google Drive وافتحه من هناك.
Two safe rules: قاعدتان آمنتان:
- Always keep a backup. Before any change, save a copy of the file (e.g.
my-guide-v2.html). If the AI's change breaks it, go back to the previous version. احتفظ دائماً بنسخة احتياطية. قبل أي تغيير، احفظ نسخة من الملف (مثلاًmy-guide-v2.html). إذا أعطب التغيير الصفحة، عُد إلى النسخة السابقة. - Ask for the full file back, not just a patch. Say: "Please return the full corrected file in one code block, do not give me only the changed parts." اطلب الملف الكامل، لا الجزء المعدّل فقط. قل: "من فضلك أعد الملف الكامل المصحح في صندوق كود واحد، لا تعطني الأجزاء المعدلة فقط."
Rare for HTML tasks. If it happens: rephrase to make the purpose obvious ("this is a training reference for new staff"), break the request into smaller pieces, or try the other tool. Refusals between Claude and ChatGPT rarely overlap. نادر بالنسبة لمهام HTML. إذا حدث: أعد الصياغة لجعل الغرض واضحاً ("هذا مرجع تدريبي للموظفين الجدد")، قسّم الطلب إلى أجزاء أصغر، أو جرّب الأداة الأخرى. نادراً ما يتطابق رفض Claude مع رفض ChatGPT.
Most pages load fine even at hundreds of KB. If yours genuinely lags: "Please simplify the page. Remove unused CSS, simplify any heavy animations, and shrink any large inline images to roughly the size they are displayed at." معظم الصفحات تُحمَّل بشكل جيد حتى عند مئات الكيلوبايتات. إذا كانت صفحتك بطيئة فعلاً: "من فضلك بسّط الصفحة. احذف CSS غير المستخدم، بسّط الرسوم المتحركة الثقيلة، وقلّص الصور المضمّنة الكبيرة إلى الحجم الذي تُعرض به تقريباً."
In your AI conversation, attach the image directly (drag it in, or use the attachment button). Then say: "Please use this image in the page — embed it inline as base64 so the file stays self-contained, and place it in [SECTION NAME]." في محادثتك مع الذكاء الاصطناعي، أرفق الصورة مباشرة (اسحبها، أو استخدم زر الإرفاق). ثم قل: "من فضلك استخدم هذه الصورة في الصفحة — ضمّنها مباشرة بصيغة base64 ليبقى الملف مكتفياً بذاته، وضعها في [اسم القسم]."
Start from a worked example. ابدأ من مثال جاهز.
Each example loads a complete set of answers into the builder. You can then tweak and generate your prompt. كل مثال يحمّل مجموعة كاملة من الإجابات في المنشئ. يمكنك بعدها التعديل وإنشاء توجيهك.