- This topic has 11 replies, 6 voices, and was last updated 3 months, 2 weeks ago by Victoria Mostova.
-
September 16, 2022 at 3:00 pm #7461Abdessamad EL HARBOULIParticipant
السلام عليكم شباب
فالسؤال 3 المرتبط بالشبكات
في سؤال بيقول التالي : For header set width to 100% with margin 0 to the bottom
وجوابي الاتي
/*
header {
width: 100%;
margin-bottom: 0;
}*/
مش عارف ليه الجواب غلط احد يقدر يساعدني ؟
شكراSeptember 16, 2022 at 3:28 pm #7465CodeDegree CodeDegreeKeymasterفي المتطلب الثاني يجب أن تضيف الكود لنفس عنصر ال header الذي أضفت له كود سابقا.
فالإجابة السليمة هي:
header {
padding: 20px 20px 0 20px;
width: 100%;
margin-bottom: 0px;
}*لاحظ الفرق
September 16, 2022 at 4:02 pm #7466Abdessamad EL HARBOULIParticipantعملت يلي قلت لي عليه ولسا في رسالة خطأ :
هناك شىء ما خاطىء، هل يمكنك مراجعة التعليمات؟
صورة الشاشة مرفوقة تحت
الرجاء المساعدةAttachments:
You must be logged in to view attached files.September 16, 2022 at 4:06 pm #7468Abdessamad EL HARBOULIParticipantالصورة
Attachments:
You must be logged in to view attached files.September 16, 2022 at 5:51 pm #7471CodeDegree CodeDegreeKeymasterYou 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;
September 16, 2022 at 5:54 pm #7473CodeDegree CodeDegreeKeymasterA little hint, Copy paste the code I provided you earlier and you will see the difference in the code editor.
September 16, 2022 at 6:18 pm #7478Abdessamad EL HARBOULIParticipantthank 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!!!!!!!!!!!!!September 16, 2022 at 6:27 pm #7479CodeDegree CodeDegreeKeymasterThere is a difference between:
background-color: var(–primary);
andbackground-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/–*September 17, 2022 at 5:28 am #7487Abdelhady Mohamed Abdelhady HafezParticipanti have a problem
i entered the code
grid-area:nt;
but it didnot workAttachments:
You must be logged in to view attached files.September 17, 2022 at 12:20 pm #7489Abdessamad EL HARBOULIParticipantI am facing the same problem
September 17, 2022 at 6:38 pm #7490Mahmoud Khalid MohammedParticipantمحدش لقي حل للموشكلة دي
January 15, 2024 at 9:49 am #8047Victoria MostovaParticipantCreating a Netflix clone project is an ambitious endeavor. If you’re looking for guidance on how to make a streaming service, I recommend diving into resources on video streaming technologies, user interface design, and backend development. Platforms like CodeDegree might offer courses or forums where you can connect with experts and enthusiasts to exchange ideas and insights.
- You must be logged in to reply to this topic.