JavaScript Flashcards

1
Q

Function

A

Named set of of statements that can perform a specific task repeatedly throughout program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Argument

A

Value or expression containing data or code that is passed on to a function of procedure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Method

A

An action that an object can perform (what it performs with properties)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Chrome supports

A

MP3, Ogg and WAV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Internet Explorer supports

A

MP3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Safari supports

A

MP3 and WAV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Firefox supports

A

Ogg and WAV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

BODY {color: #008060; }

A

Selector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

body {COLOR: #008060; }

A

Property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

008060

A

Value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Style guide

A

Set of standards for the writing and/or design of documents

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

CSS position default

A

STATIC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Box Model contains

A

Content
Padding
Border
Margin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Class selector always

A

Starts with a PERIOD.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

body {color: #008060; }

A

This is a CSS rule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

CSS comment

A

/* comment */

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Fixed positioning

A

Element remains in same position when PAGE SCROLLS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Absolute positioning

A

Floats above documents and can be positioned as needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Customize your own HTML element styles with

A

Class and Id selectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

CSS1 introduced

A

Margins

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

CSS3 brought

A

Transformations, Transitions, and Animations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Cover value

A

Scales background image to larges size while MAINTAINING ASPECT RATIO

23
Q

Contain value

A

Scales largest size they ALLOWS WIDTH AND HEIGHT but doesn’t fit the entire area

24
Q

Specify shadow’s size but is optional

A

Spread

25
Q

V-shadow is

A

Required

26
Q

Select element that begins with

A
27
Q

Select element that ends with

A

$

28
Q

Select elements that contains

A

*

29
Q

-webkit-

A

Chrome and Safari

30
Q

-moz-

A

Firefox

31
Q

-ms-

A

Internet explorer

32
Q

-o-

A

Opera

33
Q

Positive Z index

A

Places element in front of other elements

34
Q

Negative Z index

A

Places elements behind others

35
Q

Transition delay

A

When transition will begin

36
Q

Default for transition delay and duration

A

Zero

37
Q

Box-sizing property

A

Content box and border box

38
Q

Outline offset property

A

Draws outline beyond border edge

39
Q

User interface elements =

A

Menus and buttons

40
Q

Microsofts implementafion of JavaScript

A

JScript

41
Q

Word and Excel use

A

VBScript

42
Q

Expressions rely on

A

OPERATORS to produce a value

43
Q

Used as needed

A

VARIABLE

44
Q

Expression

A

Part of statement evaluated as value

45
Q

document.write() method

A

Write specified message string I page, dynamically written to the Window as script is executed as it loads

46
Q

JavaScript and Java are

A

UNRELATED

47
Q

Event is

A

User initiated action

48
Q

Events trigger

A

Functions

49
Q

Methods…

A

PERFORM - action made to perform

50
Q

Properties are _____ of an object

A

Attributes

51
Q

Why is it important to test JavaScript code in as many browsers as possible?

A

Different browsers sometimes implement JavaScript differently

52
Q

JavaScript is ___ driven

A

Event

53
Q

Considered easy to learn bc

A

Basic syntax is simple and many examples