Lesson ٤: Creating a Static Web Page Using AI
فيديو الشرح
الفيديو قيد الإنتاج، وسيظهر هنا فور اعتماده.
ماذا ستتعلم؟
- I identify the main ideas of the lesson
- I extract the key information
- I apply what I learned
- I connect cause and effect
- I review my answer
اختبر استعدادك أولًا
الشرح خطوة بخطوة
Level ١: We explore together
Lesson topic: Creating a Static Web Page Using AI. Generative AI can help us write the code of a static web page.
The story: We describe the page we want in a clear prompt, and the AI produces HTML and CSS code. A good prompt for a web page says what the page is about, what parts it has, and what style we want. After the AI writes the code, we save it, open it in a browser, and check that it looks right. We must review the code because AI can make mistakes, and we can ask it to fix or improve parts. In this lesson we learn how to create a static web page with the help of AI, step by step.
Level ٢: I review the idea
We review the key points of the lesson: How can AI help in making a web page? -> It writes HTML and CSS code from our description; What should a good prompt for a web page include? -> The topic, the parts of the page, and the wanted style.
We read each sentence again and mark its keyword.
Level ٣: I use what I learned
We apply what we learned by answering these questions: How can AI help in making a web page? -> It writes HTML and CSS code from our description; What should a good prompt for a web page include? -> The topic, the parts of the page, and the wanted style; What do we do after the AI gives us the code? -> Save it, open it in a browser and check it.
We explain why we rejected each wrong option before choosing the answer.
Level ٤: Games and activities
We take turns with a partner: one of us asks "How can AI help in making a web page?" and the other answers, then we switch roles.
We write a card for each idea of the lesson and order them as they appear in the explanation.
We summarize the lesson in three sentences in our own words without copying.
Level ٥: Mastery and review
I can: identify the main ideas of the lesson; extract the key information; apply what I learned.
We review after one day, then after three days. A short five-minute review is better than one long session.
Optional challenge: I write two new questions of my own about the lesson and ask a partner to answer them.
أخطاء شائعة وتصحيحها
- We answer "Why must we review AI-written code?" with "Because code is food": Correct: Because AI can make mistakes or produce code that does not match what we want
- We answer "If the page is not what we wanted, what can we do?" with "Throw the computer": Correct: Ask the AI to fix or improve specific parts
- We answer "Order the steps: check the page, write the prompt, save and open, get the code." with "Check, prompt, code, save": Correct: Write the prompt, get the code, save and open, check the page
- We answer "What is an example of a clear style request in a prompt?" with "Make it nice somehow": Correct: Use a light blue background and large readable headings
أمثلة محلولة متدرجة
What can AI produce when we describe a web page?
- نقرأ السؤال معًا بهدوء.
- Two code languages.
Name two things a good web page prompt should mention.
- نقرأ السؤال معًا بهدوء.
- Topic, parts, style.
What is the first thing to do after getting code from the AI?
- نقرأ السؤال معًا بهدوء.
- Save and see.
Write a clear prompt for a page about your school with two sections and a style.
- نقرأ السؤال معًا بهدوء.
- Topic, parts, style.
Why is reviewing AI code a duty, not an option?
- نقرأ السؤال معًا بهدوء.
- It can be wrong or off-goal.
The AI page shows the wrong colors. What is the best next step?
- نقرأ السؤال معًا بهدوء.
- Ask for a specific fix.
Explain why AI is a starting point, not a full replacement, in making pages.
- نقرأ السؤال معًا بهدوء.
- Draft plus human judgment.
Write a full prompt for a personal hobby page: topic, three parts, colors, fonts, and one image area. Then list two checks you would run on the result.
- نقرأ السؤال معًا بهدوء.
- Be specific.
Your friend says: "Once the AI writes the code, the page is finished and needs no checking." Is this correct?
- نقرأ السؤال معًا بهدوء.
- Who approves the result?
الخريطة الذهنية
إنفوجرافيك: Lesson map: words of the day
We review the questions after one day, then after three days
تدريبات متنوعة مع الإجابات والتفسير
اكتب الإجابة أو اختر ثم اضغط. بعد كل سؤال يظهر الحل مع التفسير.
A) I choose the answer
B) I practice and answer
C) I review and play
ملخص صوتي وقارئ الدرس
قارئ تجريبي يعمل بصوت جهازك (مجاني). ليس تسجيلًا احترافيًا، وجودة الصوت العربي تختلف من جهاز لآخر. التسجيل الصوتي الاحترافي لم يُنتج بعد.
Lesson topic: Creating a Static Web Page Using AI. Generative AI can help us write the code of a static web page.
We review the key points of the lesson: How can AI help in making a web page? -> It writes HTML and CSS code from our description; What should a good prompt for a web page include? -> The topic, the parts of the page, and the wanted style.
We apply what we learned by answering these questions: How can AI help in making a web page? -> It writes HTML and CSS code from our description; What should a good prompt for a web page include? -> The topic, the parts of the page, and the wanted style; What do we do after the AI gives us the code? -> Save it, open it in a browser and check it.
مسار المراجعة للامتحان
- Day one (١٠ minutes): We read levels ١ to ٣ together, then solve exercises (A).
- Day two (١٠ minutes): We play the level ٤ games and solve exercises (B).
- Day three (١٠ minutes): Exercises (C), then the Level One test.
- Before the school exam: We repeat the Level Three test and look at the common mistakes.
اختبارات بثلاثة مستويات
Level One Test: The Basics
٨ أسئلة. اجب ثم اضغط «أنهِ الاختبار» لترى درجتك.
Level Two Test: Application
١٠ أسئلة. اجب ثم اضغط «أنهِ الاختبار» لترى درجتك.
Level Three Test: The Challenge
٨ أسئلة. اجب ثم اضغط «أنهِ الاختبار» لترى درجتك.
المصادر والحقوق
- لا يوجد فيديو أو تسجيل صوتي احترافي بعد.
- Programming and Artificial Intelligence book (English edition), First Secondary Grade, Second Term, Egyptian Ministry of Education and Technical Education: the book was used to determine lesson scope, order and titles only (no text or exercises copied).
- Scope of this term from the official MOE Term ٢ curriculum distribution (February ٢٠٢٦): Unit ٨ Networks (lessons ٨-١ to ٨-٣), Unit ٩ Databases (٩-١, ٩-٢), Unit ١٢ Programming (١٢-١ to ١٢-٣) and Unit ١٣ Generative AI (١٣-١ to ١٣-٧); the English edition mirrors the Arabic book structure. All explanations, examples, exercises and tests were originally authored in English for this edition; they are not a translation of the Arabic text. Review is automated, not by a teacher.
- All explanations, examples, exercises and tests on this page are authored by I BOOK PRESS. Automated and author review only, without teacher review; no video or professional audio yet.