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
What keyword is used to define a constant variable?
Anonymous Quiz
76%
const
4%
let
10%
var
10%
constant
How do you create a function in JS?
Anonymous Quiz
80%
function myFunc() {}
7%
func myFunc()
7%
def myFunc()
7%
function: myFunc()
How do you write an alert in JS?
Anonymous Quiz
80%
alert(Hi!)
7%
msg(Hi!)
9%
console.log(Hi!)
4%
prompt(Hi!)
Which keyword declares a variable that can be reassigned?
Anonymous Quiz
7%
var
10%
const
7%
let
76%
Both let and var
What is the output of console.log( typeof 42)?
Anonymous Quiz
86%
number
5%
string
5%
boolean
5%
object
How do you access the first element of arr?
Anonymous Quiz
85%
arr[0]
5%
arr[1]
5%
arr.first
5%
arr[0,0]