JavaScript Flashcards

(53 cards)

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

25
V-shadow is
Required
26
Select element that begins with
^
27
Select element that ends with
$
28
Select elements that contains
*
29
-webkit-
Chrome and Safari
30
-moz-
Firefox
31
-ms-
Internet explorer
32
-o-
Opera
33
Positive Z index
Places element in front of other elements
34
Negative Z index
Places elements behind others
35
Transition delay
When transition will begin
36
Default for transition delay and duration
Zero
37
Box-sizing property
Content box and border box
38
Outline offset property
Draws outline beyond border edge
39
User interface elements =
Menus and buttons
40
Microsofts implementafion of JavaScript
JScript
41
Word and Excel use
VBScript
42
Expressions rely on
OPERATORS to produce a value
43
Used as needed
VARIABLE
44
Expression
Part of statement evaluated as value
45
document.write() method
Write specified message string I page, dynamically written to the Window as script is executed as it loads
46
JavaScript and Java are
UNRELATED
47
Event is
User initiated action
48
Events trigger
Functions
49
Methods...
PERFORM - action made to perform
50
Properties are _____ of an object
Attributes
51
Why is it important to test JavaScript code in as many browsers as possible?
Different browsers sometimes implement JavaScript differently
52
JavaScript is ___ driven
Event
53
Considered easy to learn bc
Basic syntax is simple and many examples