GithubHelp home page GithubHelp logo

uc-web-cw-2's Introduction

راح نبدا مسيرتنا في لغة CSS

الجزء الاول

في هذا التمرين انشئ قائمة مطعمك الخاص

  1. قم بعمل fork للـ repository
  2. افتح الـ repository باستخدام github desktop
  3. قم بإنشاء ملف بصيغة HTML
  4. استخدم وسم h1 لكتابة عنوان لمطعمك
    • غير لون الخط إلى لون مناسب
    • غير محاذاة النص (text align) إلى المنتصف
  5. استخدم الوسوم التالية لانشاء اول طبق في المطعم:
    • اسم الطبق –> h2
    • وصف الطبق بإختصار –> p
    • سعر الطبق –> h3
  6. غير لون خلفية (background color) لكل عناصر الطبق الذي قمت بإنشائها بالخطوة (5) إلى لون يناسب مطعمك
  7. احفظ التغييرات

بونص!

  • اضف حدود لوسم body

الجزء الثاني

لنستخدم وسم الـ Div وننسق موقعنا بشكل بسيط وسلس!
في نفس الصفحة التي اكملت بها الجزء الأول من التمرين قم بعمل الأتي

  1. استخدم وسم الاحتواء div ليحتوي بداخله على عناصر الطبق التي قمت بإنشائها سابقا:
    • اسم الطبق –> h2
    • وصف الطبق بإختصار –> p
    • سعر الطبق –> h3
  2. قم بإضافة كلاس بإسم card إلى الـ div، وغير خصائص الكلاس كالتالي:
    • غير العرض (width) ليصبح 500 بكسل
    • لون الخلفية (background color) إلى اللون يناسب مطعمك
    • محاذاة النص (text align) في المنتصف
  3. اضف id إلى وسم h2 بإسم dish-name# وغير لون الخط إلى الابيض
  4. انسخ الـ div ليصبح في موقعك ثلاث اطباق
  5. احفظ التغييرات وارفع الكود إلى github
  6. قم بتسليم التمرين على موقع Coded Lab

بونص!

  • استخدم وسم الخط الافقي لتفصل بين الاطباق horizontal line

آخر موعد لرفع الكود هو نهاية المحاضرة "لا تترددون أنكم تسألون المدرسين 👌"

uc-web-cw-2's People

Contributors

nourah-alotaibi avatar athbi989 avatar waliiidals avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.