To check that your code is producing the desired output we would upload the variable to the...
What is: console.log()?
This language is a loosely-typed, interpreted, scripting language.
What is: JavaScript?
What does HTML stand for?
What is: Hyper Text Markup Language?
These CSS properties define the space between the element border and the element content.
What is: padding?
How do you write a comment in JavaScript?
What is: //This is a single-line comment /*This is a multi- line comment*/
This allows two, or more conditions to be considered with user input.
What is: a compound conditional?
In JavaScript, this is the keyword you use to declare a function.
What is: function?
When creating a list in HTML which of the tags comes first? <li> or <ul>?
What is: <ul>?
These properties define the space around elements.
What is: margin?
What is the datatype of NaN?
What is: number?
What property allows us to change the color of an input field already created in HTML?
What is: .style?
JavaScript requires you to use this keyword to declare a variable that will be changed in the future.
What is: let?
This tag defines a division or a section in an HTML document.
What is: a 'div' tag?
This is the CSS selector that is used to identify a class.
What is: a dot?
A variable that is declared without a value defined will have the value of?
What is: undefined?
for(let i = 0; i < arr.length; i++){
for(let j = 0; j < arr.length; j++){
// some code
}
}
The above is an example of what type of loop?
What is: a nested loop?
This is the language that your paging styling should use.
What is: CSS?
What is the correct HTML tag to insert a line break?
What is: <br> or <br/>
This is the CSS selector that identifies an id.
What is: a hash (#)?
.some(), .map(), .filter()
These are examples of what?
What are: array methods?
How do you access an element in the HTML document using its ID in JavaScript?
What is: document.getElementById('id')?
What are the 3 parts of a For Loop?
for ([initialization]; [end condition]; [increment / step]) {}
What is: initialization, end condition, increment/ step?
This tag defines a hyperlink, which is used to link from one page to another.
What is: an 'a' tag?
This is the meaning of the CSS acronym.
What is: Cascading Style Sheet?
What would the console output if I ran this:
console.log("javascript".join(""))?
What is: TypeError: "javascript".join is not a function?
Why? Because join is an array method