What is the output of typeof 42?
Anonymous Quiz
81%
A) "number"
6%
B) "string"
8%
C) "boolean"
4%
D) "object"
😁2
What does console.log (true && false) return?
Anonymous Quiz
5%
A) true
75%
B) false
11%
C)0
9%
D) 1
How do you declare an array?
Anonymous Quiz
71%
A) var arr = [1,2,3];
12%
B) var arr = (1,2,3);
4%
C) var arr ={1,2,3};
12%
D) array arr = [1,2,3];
How do you access the first element of arr?
Anonymous Quiz
82%
A) arr[0]
8%
B) arr[1]
4%
C) arr.first
6%
D) arr[0,0]
❤1
What does CSS stand for?
Anonymous Quiz
9%
Computer Style Sheets
82%
Cascading Style Sheets
5%
Creative Style Syntax
5%
Colorful Style Sheets
Which CSS property is used to change the text color?
Anonymous Quiz
5%
text-style
19%
font-color
73%
color
3%
background-color
Inline CSS is added using:
Anonymous Quiz
8%
The <link> tag
77%
The style attribute
13%
The <css> tag
2%
The <noscript> tag
Which selector selects the first element of its type inside a parent?
Anonymous Quiz
59%
:first-child
10%
:nth-child(1)
19%
:first-of-type
12%
::before
Which property sets the style of a list marker?
Anonymous Quiz
12%
list-decoration
28%
list-marker
57%
list-style
3%
text-style
Which is the correct way to set a color using HEX?
Anonymous Quiz
87%
color: #ff0000;
7%
color: rgb(255,0,0);
6%
color: (255,0,0);
0%
color: red();
The value rgba(0,0,0,0.5) means:
Anonymous Quiz
13%
Red color with 50% opacity
63%
Black color with 50% opacity
20%
White with 50% opacity
4%
Transparent red
👍2👎1
Which CSS keyword makes the background completely transparent?
Anonymous Quiz
9%
invisible
82%
transparent
4%
none
5%
clear
HSL stands for:
Anonymous Quiz
11%
Hue, Style, Lightness
65%
Hue, Saturation, Lightness
20%
High Saturation Light
4%
Hue, Shade, Light
Which of these is a valid RGB color?
Anonymous Quiz
11%
rgb(300,0,0)
80%
rgb(255,255,255)
4%
rgb(256,0,0)
6%
rgb(-10,10,10)
To make text white, the correct property is:
Anonymous Quiz
7%
text-color: white;
85%
color: white;
4%
font-color: white;
4%
background: white;