Please enable JavaScript to use CodeHS

Web Development Glossary

Flashcards

Course:

Module:

Search:

MIME General

Multipurpose Internet Mail Extensions (MIME) is a standard for formatting files of different types.

local network hosted General

Software installation that is performed on a local area network (LAN).

cloud hosted General

Software that is installed, hosted and accessed entirely from a remote server or location.

Hello World General

Traditionally the very first program you write when learning a programming language, a program that prints "Hello world" to the user.

println JavaScript

JavaScript function that prints out a line to the user

Boolean JavaScript

A boolean is a true or false value.

Boolean

Declare a Variable JavaScript

Declaring a variable is defining it for the first time.

Declare a Variable

Variable General

A symbol or container that holds a value.

variable

Integer JavaScript

A whole number (not a fraction)

integer

String JavaScript

A sequence of characters

string

Initialize a Variable JavaScript

Initializing a variable is giving it an initial value.

Float JavaScript

A float, or floating point value, is a numeric value that can have decimal level precision (ex: 3.14)

List JavaScript

Also called an array. A data structure that holds a collection of values in a particular order

List Array

Array JavaScript

Also called a list. A data structure that holds a collection of values in a particular order

List Array

readLine JavaScript

Allows for the reading of user input when a string is used

readLine

readInt JavaScript

Allows for the reading of user input when an integer is used

readInt

readFloat JavaScript

Allows for the reading of user input when a float number is used

readFloat

Constant JavaScript

A variable in a program that has a value that does not change.

Constant

Magic Number JavaScript

A number in your code that appears arbitrary. These should all be replaced with calculations or constants.

Magic Number

Parentheses General

( and )

Parentheses

Increment General

To add to or increase

Increment

Decrement General

To subtract from or decrease

decrement

Logical operator JavaScript

Used to make logical associations between boolean values

logical operator

Or operator JavaScript

Logical operator that ORs two boolean values. Written as `||`. `a || b` will be true if `a` or `b` is true.

And operator JavaScript

Logical operator that ANDs two boolean values. Written as `&&`. `a && b` will be true if both `a` and `b` are true.

Not operator JavaScript

Logical operator that negates a single boolean value. Written as `!`. `!a` will be true if `a` is false, and false if `a` is true.

Negate General

To flip a boolean value, or take the opposite of a boolean value. If you negate true, you get false. If you negate false, you get true.

Comparison operator General

Used to make comparisons between values.

comparison operator

Condition General

A condition is code that you put inside an if statement or while-loop.

Condition

Indentation JavaScript

Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.

Indentation

If Statement General

An if statement lets you ask a question to the program and only run code if the answer is true.

If Statement

If Else Statement General

Control structure that lets us run either one section of code or another depending on a test.

If Else Statement

Control Structure General

A control structure lets us change the flow of the code.

Control Structure loops if statements

Curly Bracket General

An open curly bracket is { and a close curly bracket is }

Curly Bracket

JavaScript Documentation JavaScript

Documentation for the syntax and objects in Javascript that we use on CodeHS.

javascript documentation javascript docs js documentation js docs graphics data structures

Randomize JavaScript

To generate or select a random object

random, randomizer

Pseudorandom JavaScript

Not actually random, but appears to be random

Loop General

A loop is a way to repeat code in your program.

Loop

While Loop General

Lets us repeat code as long as something is true.

While Loop

Edge Case General

An edge case is a problem in your code that only occurs in extreme situations.

Edge Case

Fencepost Problem General

A problem when using a while loop where you forget one action at the beginning or the end.

Fencepost Problem

Counter JavaScript

A variable used to count the number of times an action has been performed

counter variable

Iterate General

A single run through the instructions contained a loop

Iterate

Sentinel JavaScript

A constant that has the specific purpose of being the value that breaks out of a loop.

SENTINEL

Loop-and-a-half JavaScript

A loop, most often set with while(true), that has a break in the loop body.

loop and a half

break statement JavaScript

The `break;` statement breaks out of the current loop, without executing any more code in the loop.

Infinite Loop General

A loop that has no way of stopping, and will keep looping forever.

Define a Function JavaScript

Defining a function means to teach the computer a new command and explain what it should do when receiving that command.

Define a Function

Call a Function JavaScript

Calling a function actually gives the command, so the computer will run the code for that function.

Call a Function

Argument JavaScript

A variable passed as a value to a function

argument

Function body JavaScript

The part of a function that contains the commands

function body

Parameter JavaScript

A variable passed in from outside the function

parameter

Return JavaScript

Exit a function and return a value

Return

Return Value JavaScript

The value returned from a function when the function is called.

Scope General

In what part of the program the variable exits

Scope

Global variable JavaScript

A variable that can be used throughout a program, in every scope

Global variable

Local variable General

A variable that is restricted to use in a certain scope of a program

Local variable

For Loop JavaScript

A for loop lets us repeat code a **fixed number of times**.

For Loop

DRY Principle JavaScript

Don't repeat yourself: try to simplify your code and avoid repeating code unnecessarily.

dry, repeated code

HTML Documentation HTML

Documentation and syntax for HTML

html docs html documentation

HTML HTML

Hypertext Markup Language

HTML

HTML Tag HTML

Tags are the building blocks of an HTML document

Tag

Indentation General

Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.

Tree HTML

The structure of an HTML document

HTML Formatting HTML

HTML provides several tags for formatting text on web pages.

<a> Tag HTML

Allows putting links on a web page. It uses the href attribute to specify what the link should point to.

<img> Tag HTML

Allows adding an image to a web page. It is self-closing. The attributes of an `<img>` tag include `src`, which specifies where to get the image from (the url for an image ), and `width` and `height` attributes, which specify the size of the image in pixels.

HTML Lists HTML

Way to organize information with a simple structure that is easy to read and write on a webpage. There are ordered and unordered HTML lists.

<ul> Tag HTML

Defines an unordered list in HTML.

<li> Tag HTML

defines a list item inside an HMTL list.

HTML Tables HTML

Tables display information in a grid.

Style Attribute HTML

Allows adding several different types of styles to HTML elements.

CSS CSS

Cascading Style Sheets. The language for designing web pages and adding style.

Selector CSS

Defines which HTML elements a CSS rule applies to.

Class Attribute HTML

`class` is an attribute we can add to HTML tags in order to style a specific group of elements.

id Attribute HTML

`id` is an attribute we can add to an HTML tag to style that specific element.

Website General

A collection of related webpages, usually registered under the same domain name

Hyperlink HTML

The connection between one HTML page to another HTML page

Div HTML

A tag that creates a new area of content on a web page that can be styled independently of the rest of the site

Span HTML

A tag that creates an inline area of content on a webpage that can be manipulated separately from the block it is enclosed in

Visibility HTML

An attribute that determines if a particular element can be seen by the viewer of the web page

Animation General

Creating the illusion of motion using rapidly changing still images.

Tooltip HTML

A small box with extra information about an element that appears when the cursor hovers over the element.