What does this animation do? @keyframes fade { from { opacity: 0; } to { opacity: 1; } } div { animation: fade 2s; }
Anonymous Quiz
28%
Makes the element disappear
55%
Makes the element fade in
13%
Makes the element blink
5%
No effect
What is the effect of this code? .container { display: grid; grid-template-rows: 100px auto; }
Anonymous Quiz
76%
Creates 2 rows: one fixed and one flexible
14%
Creates 2 equal rows
5%
Creates 3 rows
5%
No effect
What is the expected result of this code?
div {
width: 200px; height: 100px; padding: 20px; }
div {
width: 200px; height: 100px; padding: 20px; }
Anonymous Quiz
71%
Total width becomes 240px and total height becomes 140px
20%
Total width becomes 200px and total height becomes 100px
2%
Total width becomes 160px and total height becomes 60px
7%
Only the content area changes size.
Which selector is used to select all elements of a specific type, e.g. all <p> tags?
Anonymous Quiz
33%
*
13%
7%
.p
48%
p
How do you select elements with the class name "menu"?
Anonymous Quiz
8%
menu
16%
76%
.menu
0%
*menu
Which of the following is a valid CSS comment?
Anonymous Quiz
8%
# comment
73%
/* comment */
6%
// comment
12%
<!-- comment -->
Which selector selects elements only if they are the immediate sibling?
Anonymous Quiz
15%
A > B
64%
A + B
13%
A ~ B
9%
A B
Which shorthand is correct for padding top=10px, right=20px, bottom=30px, left=40px?
Anonymous Quiz
21%
padding: 10 20 30 40;
26%
padding: top 10 right 20 bottom 30 left 40;
14%
padding: 10px, 20px, 30px, 40px;
38%
padding: 10px 20px 30px 40px;
Syntax of media query for screens smaller than 600px is:
Anonymous Quiz
79%
@media (max-width: 600px)
13%
@media (width < 600px)
6%
@media screen < 600px
2%
@media width <= 600px
What does (min-width: 768px) mean?
Anonymous Quiz
37%
Applies if screen is smaller than 768px
10%
Applies only if width = 768px
53%
Applies if screen is at least 768px
0%
Always applies
Which is the correct CSS syntax to change the background color to blue?
Anonymous Quiz
24%
background-color: blue;
6%
body {bg: blue;}
0%
body {background=blue;}
69%
body {background-color: blue;}
❤1
The correct syntax to link CSS in HTML is:
Anonymous Quiz
3%
<style src="style.css">
10%
<style href="style.css">
84%
<link rel="stylesheet" href="style.css">
2%
<css link="style.css">
What is the expected result of this code?
div {
width: 200px; height: 100px; padding: 20px; }
div {
width: 200px; height: 100px; padding: 20px; }
Anonymous Quiz
13%
Syntax error
8%
Hides the box
15%
Box size = 200x100
63%
Box size = 240x140
👏3
أخي الطالب : في حال وجدت خطأ في أي من هذه الأسئلة ، لاتتردد في إرسال السؤال والإجابة الصحيحة لنا عبر بوت المشاركات؛ لتصحيح الخطأ. فكلنا بشر نُخطئ و نصيب نُجرب و نتعلم نفشّل و ننجح فلآ نتظآهر بالكَمال .
بوت المشاركات:
https://news.1rj.ru/str/DS_Combot
بوت المشاركات:
https://news.1rj.ru/str/DS_Combot
Telegram
Data Science Communication
بوت تواصل خاص بإرسال أسئلة الاختبارات، والملخصات.
هذه جميع أسئلة بنك أسئلة (HTML و CSS ) الخاص بالدكتور #محمد_زايد . أما بالنسبة لأسئلة قسم (JavaScript)، فسيتم تزويدكم بها فور الانتهاء من إعدادها.
علم البيانات | DS2 Quizes
Which element is used for italic text?
هٌنا 👇👇
https://news.1rj.ru/str/Computer_DS_2/2738
الإجابة الصحيحة A و B.
https://news.1rj.ru/str/Computer_DS_2/2738
الإجابة الصحيحة A و B.
كل من <i> و <em> يستخدمان للنص المائل، ويعطي <em> أيضًا معنى التأكيد.
Telegram
علم البيانات | DS2 Quizes
Which element is used for italic text?
<em> / <i> / <italic> / <italics>
<em> / <i> / <italic> / <italics>
What does console.log(Hello, World!) do?
Anonymous Quiz
86%
Prints Hello, World! in console
8%
Shows an alert
3%
Does nothing
2%
Throws an error
Which of the following is a valid JS data type?
Anonymous Quiz
4%
String
9%
Number
7%
Boolean
80%
All of the above