Home المنتديات مناقشة عامة Netflix clone مشروع

Netflix clone مشروع

  • #7461

    السلام عليكم شباب

    فالسؤال 3 المرتبط بالشبكات

    في سؤال بيقول التالي : For header set width to 100% with margin 0 to the bottom

    وجوابي الاتي

    /*
    header {
    width: 100%;
    margin-bottom: 0;
    }

    */

    مش عارف ليه الجواب غلط احد يقدر يساعدني ؟
    شكرا

    #7465
    CodeDegree CodeDegree
    مدير عام

    في المتطلب الثاني يجب أن تضيف الكود لنفس عنصر ال header الذي أضفت له كود سابقا.

    فالإجابة السليمة هي:

    header {
    padding: 20px 20px 0 20px;
    width: 100%;
    margin-bottom: 0px;
    }

    *لاحظ الفرق

    #7466

    عملت يلي قلت لي عليه ولسا في رسالة خطأ :

    هناك شىء ما خاطىء، هل يمكنك مراجعة التعليمات؟

    صورة الشاشة مرفوقة تحت
    الرجاء المساعدة

    Attachments:
    You must be logged in to view attached files.
    #7468

    الصورة

    Attachments:
    You must be logged in to view attached files.
    #7471
    CodeDegree CodeDegree
    مدير عام

    You added the padding incorrectly.

    You gave the second value of the padding a zero value which is the “Right Padding” not the “Bottom Padding” (padding-right: 0px)

    Notice the difference between your answer:

    padding: 20px 0 20px 20px;

    And the correct answer:

    padding: 20px 20px 0px 20px;

    #7473
    CodeDegree CodeDegree
    مدير عام

    A little hint, Copy paste the code I provided you earlier and you will see the difference in the code editor.

    #7478

    thank you so much it works, but sadly as soon as I moved to the next question same problem happened Change the header background color to our global variable primary
    header {
        padding: 20px 20px 0px 20px;
        width: 100%;
        margin-bottom: 0;
        background-color: var(–primary);
    }
    I can not see my self mistaken here!!!!!!!!!!!!!

    #7479
    CodeDegree CodeDegree
    مدير عام

    There is a difference between:

    background-color: var(–primary);
    and

    background-color: var(- -primary);

    Can you tell the difference?

    You can read more about CSS variables here:
    https://developer.mozilla.org/en-US/docs/Web/CSS/–*

    #7487

    i have a problem
    i entered the code
    grid-area:nt;
    but it didnot work

    Attachments:
    You must be logged in to view attached files.
    #7489

    I am facing the same problem

    #7490

    محدش لقي حل للموشكلة دي

  • يجب تسجيل الدخول للرد على هذا الموضوع.

الإحصائيات

  • 11٬057 المستخدمون المسجلون
  • 16 المنتديات
  • 15 المواضيع
  • 19 الردود

أحدث الردود

احدث االأخبار

الابتكار والتعلم