Glossary

TermModuleStepDefinition
aliasing 7 1 A situation in which two different names are used for the same data.
anonymous function 5 10 A function that is not given a name.
argument 2 4 A value specified as an input to a function.
array 7 2 A group of data values given in order.
array element 7 1 A value in an array.
array-like object 7 11 An object that has some, but not all, of the functionality of an array.
assign 2 2 To give a value to a variable or constant.
attribute 1 2 Extra information added to an element.
attribute node 4 1 A node in the DOM for an attribute of an element.
automatic type conversion 2 16 The changing of types automatically.
base case 8 1 A case in a recursive function that does not use a recursive call.
body element 1 2 An HTML element that contains all the content of the page, tag name <code>body</code>.
body of the function 5 1 The code that determines the output.
Boolean 2 3 A type of data with two possible values.
Boolean expression 2 3 An expression formed of Boolean functions and values.
branching 6 1 Using different actions for different cases.
built-in 2 4 A function or constant supplied in the programming language.
call 2 4 To use a function.
call by reference 5 1 The function uses the input data itself.
call by value 5 1 The function uses a copy of the input data.
canvas element 3 9 An HTML element for a drawing canvas, tag name <code>canvas</code>.
child 4 1 A node "below" a node in a tree, connected by an edge.
class 8 1 A type of object.
class attribute 4 9 An attribute used to refer to a group of elements.
comment 1 3 Information written for humans, ignored by the computer.
comment node 4 1 A node in the DOM for a comment.
comparison 2 6 A function that compares data and returns a Boolean value.
concatenate 2 5 To make a new one by gluing together two.
condition 2 6 A Boolean expression used to make a choice.
console 1 3 A window used for debugging, usually not visible on the page.
constant 2 2 The name used to refer to some data and the address (location) where it is stored; this should not change.
consume 2 4 Used to describe a function taking values as inputs.
control 5 1 Ways to collect information in forms.
convention 2 2 A consistent style used to make code more readable to humans.
CSS property 3 1 An aspect of an element that can be styled.
data structure 8 1 A way of organizing data.
data type 2 3 A type of data, such as a number or a string.
debug 1 3 The process of removing errors from code.
declare 2 2 To give the name of a variable or constant and possibly the type of data.
descendant 4 6 A child or child of a child or so on.
document node 4 1 A node In the DOM for the whole document.
Document Object Model 4 1 An object-oriented representation of a web page.
DOM 4 1 An object-oriented representation of a web page.
dot notation 2 4 Syntax for a function call in which the first input is followed by a period and then the name of the function, with any additional inputs following in parentheses, separated by commas.
edge 4 1 A connection between nodes in a tree.
element node 4 1 A node in the DOM for an element.
end tag 4 6 A marker showing the end of an element.
escape character 2 3 A way to encode a special character.
event listener 5 11 A function that is executed when an event occurs.
false 2 3 A value of Boolean data.
field 5 16 Ways to collect information in forms.
floating point 2 3 A finite representation of a number, which might be an approximation.
flow of control 2 7 The order in which instructions are executed.
for loop 6 1 Repetition a fixed number of times.
function 2 4 A way of associating inputs and a possible output.
function call 2 4 The use of a function.
global variable 5 1 Names with meaning everywhere in the program.
head element 1 2 An HTML element that gives information about the page, tag name <code>head</code>.
header of the function 5 1 Specifies the names of the function and parameters.
HTML element 1 2 A part of the content of a web page.
ID 3 9 An attribute used to refer to a single element.
identifier 2 2 The name that you choose for a variable or another creation.
index 2 3 The position of a value in an array or string.
initialize 2 2 To give the initial value of a variable or constant.
item 7 1 A value in an array.
iteration 6 1 The process of repeating, or one repetition in that process.
length 2 3 The number of characters in a string.
link 5 1 Information specifying another web page or another part of the current page.
list item element 4 11 An HTML element for an item in a list, tag name <code>li</code>.
live 7 11 Describing an object that changes as the page changes.
local variable 5 1 Names defined within a function.
loop body 6 1 Steps in a loop after the condition.
loop header 6 1 Information specifying details of when to iterate.
loosely-typed 2 7 A programming language that allows a variable to be used for different types of data.
method 3 1 A function associated with a class.
modifier 8 10 Information on what type of matches should be allowed for a regular expression.
mutable 5 1 Data that can change.
mutation 5 1 The process of changing data.
node 4 1 A part of a tree.
object 3 1 A "bundle" of values.
ordered list element 4 11 An HTML element for an ordered list, tag name <code>ol</code>.
parameter 5 1 The formal name of an input to a function.
parent 4 4 The node "above" a node in a tree, connected by an edge.
pattern 8 10 A way of specifying a set of strings for a regular expression.
position 2 3 The position of a value in an array or string.
prefix 2 3 A string formed by removing zero or more characters from the end of a string.
produce 2 4 Used to describe a function returning an output.
program 2 7 A list of instructions for a computer.
property of an object 3 1 A slot for one of the values bundled in an object.
recursion 8 1 The technique of using recursive calls.
recursive case 8 1 A case in a recursive function that uses a recursive call .
regular expression 8 10 A way of specifying how to alter a set of strings.
root 4 2 A node without a parent.
script 1 2 A JavaScript program.
script element 1 2 An HTML element that contains a script, tag name <code>script</code>.
selector 7 11 A way of specifying to which parts of a document the declarations in a rule apply.
short-cut evaluation 2 6 A way of evaluating Boolean expressions joined by and or or so that in some cases not all need to be evaluated before the answer is determined.
sibling 4 4 A sibling of a node x is a node with the same parent as x.
side effects 2 4 Changes made by functions other than returning output.
source attribute 1 2 An attribute used to specify the source from which a file can be obtained.
start tag 4 6 A marker showing the beginning of an element.
string 2 3 A type of data consisting of a sequence of characters.
style sheet 3 9 Styling inside or outside an HTML element.
substring 2 3 A string formed by removing zero or more characters from the beginning of a string and zero or more characters from the end of a string.
suffix 2 3 A string formed by removing zero or more characters from the beginning of a string.
syntax 2 4 The rules for expression.
tag name 1 2 The characters used in a tag for a particular element.
text node 4 1 A node in the DOM for the text inside an element.
tree 4 1 A way of structuring nodes.
true 2 3 A value of Boolean data.
Unicode 2 5 An international standard for encoding symbols.
variable 2 2 The name used to refer to some data and the address (location) where it is stored; this is allowed to change.
while loop 6 1 Repetition while a condition is true.