NEW
Font size
WorksheetsWeb Dev
Total questions: 15
Worksheet time: 8mins
In this code, what is the term for the h1?
h1 {
color: red;
font-size: 5em;
}
selector
combinator
declarator
markup
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
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");
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
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()
What are the best examples of void elements?
<link><meta><title>
<br><base><source>
<area><embed><strong>
What is the best way to apply bold styling to text?
<strong>
Using CSS
<bold>
<b>
What is the default method for form submission?
GET
POST
PUT
SUBMIT
_________ keyword is used to declare variables in javascript.
Dim
String
var
None of the above
What is DOM in HTML?
Language dependent application programming
Hierarchy of objects in ASP.NET
Application programming interface
Convention for representing and interacting with objects in html documents
What does MIME stand for?
Multipurpose Internet Mail Extra
Multi Internet Mail End
Multipurpose Internet Mail Email
Multipurpose Internet Mail Extensions
Which attribute is not essential under <iframe>?
frameborder
width
height
src
How many glyphs does bootstrap include?
369
360
260
100
Which of the following makes the button appear pressed?
.btn-link
.disabled
.active
.btn-block
Which of the following specifies header text of popover?
selector
title
placement
trigger
