Test Reviewer Flashcards
Is usually located at the top of the website (or right below a top navigation menu).
Header
It often contains a logo or the website name.
Header
Contains a list of links to help visitors navigating through your website
Navigation Bar
often used for mobile browsers
1-column
often used for tablets and laptops
2-column
only used for desktops
3-column
Placed at the bottom of your page. and it often contains information like copyright and contact info
Footer
specifies a delay for the start of an animation.
animation-delay
specifies the number of times an animation should run
animation-iteration-count
specifies whether an animation should be played forwards, backwards or in alternate cycles.
animation-direction
The animation is played inforwards. This is default
normal
The animation is played in backwards
reverse
The animation is played forwards first, then backwards
alternate
The animation is played backwards first, then forwards
alternate-reverse
specifies the speed curve of the animation.
animation-timing-function
Specifies an animation with a slow start, then fast, then end slowly
ease
Specifies an animation with the same speed from start to end
linear
This is default
ease
Specifies an animation with a slow start
ease-in
Specifies an animation with a slow end
ease-out
Specifies an animation with a slow start and end
ease-in-out
- Lets you define your own values in a cubic-bezier function
cubic-bezier(n,n,n,n)
JavaScript code is inserted between
and tags
A list of “instructions” to be “executed” by a computer.
computer program
These programming instructions are called
statements
A list of programming statements.
JavaScript program
JavaScript statements are composed of:
Values, Operators, Expressions, Keywords, and Comments.
first-name, last-name, master-card, inter-city.
Hyphens
first_name, last_name, master_card, inter_city.
Underscore
FirstName, LastName, MasterCard, InterCity
Upper Camel Case (Pascal Case)
firstName, lastName, masterCard, interCity
Lower Camel Case
What arithmetic operators is this “ + “
Addition
What arithmetic operators is this “ - “
Subtraction
What arithmetic operators is this “ * “
Multiplication
What arithmetic operators is this “ / “
Division
Look at the code below and analyze what would be the output:
<p></p>
var person = {
firstName: “Isaac”,
lastName : “Newton”,
id : 4343,
age: 58,
tone: “Fair”,
built: “Short”,
fullName : function() {
return this.firstName + “ “ + this.lastName + “ is old” + this.age + “and” + this.built;
}
};
document.getElementById(“demo”).innerHTML = person.fullName;
Isaac Newton is old 58 and short
<p></p>
var person = {
firstName: “Albert”,
lastName : “Einstein”,
id : 1234,
age: 50,
tone: “Fair”,
built: “Tall”,
fullName : function() {
return this.id + “ is “ + this.firstName + “” + this.lastName;
}
};
document.getElementById(“demo”).innerHTML = person.fullName;
1234 is Albert Einstein