
Web Dev
Authored by Rakshit Sinha
Other
University
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
In this code, what is the term for the h1?
h1 {
color: red;
font-size: 5em;
}
selector
combinator
declarator
markup
2.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What will this loop print?
let max = 3;
for (i = 0; i > max; i++) {
document.write("skrt ");
}
skrt skrt skrt
skrt skrt
skrt skrt skrt skrt
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which choice is a correct use of the parseInt() function in Javascript that parses a string and return an integer?
parseInt("six");
parse_int('6');
parseInt("6");
parseint("6");
4.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
In the context of this code, how would you describe user?
const user = {
given_name: "Joe",
family_name: "Bloggs",
age: 40,
};
function
array
variable
object
5.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which array method should you apply to run a function for every item within an array, returning an array of all items for which the function is true?
every()
map()
forEach()
filter()
6.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What are the best examples of void elements?
<link><meta><title>
<br><base><source>
<area><embed><strong>
7.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What is the best way to apply bold styling to text?
<strong>
Using CSS
<bold>
<b>
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?