Make an Interactive Website

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

comparing variable, not equal to is?

!==

What can be used to select HTML elements on a page?

$()

What can create new HTML elements to add to the page?

$()

what is used to multiply a variable values?

*

What method shows the selected HTML element by fading it in?

.fadeIn()

what method hides the selected HTML element by fading it out?

.fadeOut()

what is used to add up a variables values?

+

what is used to subtract a variables values?

-

what hides the selected HTML element?

.hide()

what add a CSS class to an element?

.addClass()

What method lets you create your own custom animations?

.amimate()

what method adds html elements to the end of a selected element?

.appendTo()

what method get the children of the selected element?

.children()

What method do you use for an HTML element to respond to a click?

.click()

What method attaches an event handler to an HTML element so that it can respond to a key press event?

.keypress()

how can we find out how long a string is?

.length

what method goes to the next sibling of the selected element?

.next()

what method add html elements to the beginning of a selected element?

.prependTo()

what method goes to the previous sibling of the selected element?

.prev()

what method removes the selected html element from a web page?

.remove()

what removes a class from an element?

.removeClass()

what displays the selected HTML element?

.show()

what method shows the selected HTML element by sliding it down?

.slideDown()

what method hides the selected HTML element by sliding it up?

.slideUp()

what method adds text to an HTML element

.text()

what alternates hiding and showing an element?

.toggle()

what alternates adding and removing a class from an element?

.toggleClass()

what is used to divide a variables values?

/

What tells the computer that a statement has ended?

;

comparing variables, less than is?

<

comparing variables, less than or equal to is?

<=

When using $() to create an html element, what do you add before and after the type of element that you want to create?

<>

comparing variables, equal to is?

===

comparing variables, greater than is?

>

comparing variable, Greater than or equal to is?

>=

The representation of HTML elements forming a hierarchy which can be visualized as a tree is called a what?

Document Object Model (DOM)

jQuery enables us to do three main things on a web page, what are they?

Events, DOM manipulation, effects

This contains code that can be used over and over again in a program.

Function

What makes up a function?

Function name, Parameters, Body

This is a programming language that jQuery is written in

JavaScript

This is a programming language used to add interactivity to a web page.

JavaScript

This is a programming language used to create web pages that change in response to user actions.

JavaScript

What should only run after a webpage has loaded completely in a browser?

JavaScript

These are used to make web pages interactive (Two things)

JavaScript, jQuery

This event occurs when a user types a key on the keyboard.

Keypress event

to write a program to answer yes or no questions, we use what statement?

if

A function is run by ____ ____ ____ and giving it ___ _____.

calling its name, input values

Elements nested inside another are called what?

child elements

what event occurs when a user clicks on an html element?

click event

the code within the parentheses of an if statement is called a what?

condition

what modifies html elements on the page

dom manipulation

what add animations to a page?

effects

what are the two other things use can you besides an if statement if something else is true

else, else if

A function that specifies what to do when an event occurs is called a what?

event handler

What responds to user interactions

events

user interactions with a web page are called what?

events

A set of instructions that tells the computer to do something

function

an if statement starts with this keyword..

if

This is a collection of prewritten JavaScript code that lets us easily create interactive effects on our site.

jQuery

This simplifies JavaScript syntax and makes it easier to build interactive web pages that work across multiple browsers.

jQuery

Keyboard keys are identified by what?

key codes

This element tells a browser where to find a CSS file.

link

To use CSS files in HTML we use what element?

link

elements in which other elements are nested inside of are called what?

parent elements

This element tells the brewer where to find a JavaScript file.

script

To use JavaScript files in HTML, we use what element?

script

elements that are just other bodies, not nesting or being nested in a subsequent element.

sibling elements

what do you include around a string? (two things, either/or)

single quotes, double quotes

pieces of texts stored by variables, what are they

strings

When a menu alternates between showing and hiding, it is termed what?

toggling

what creates a new variable

var

What stores data so that they can be used later on in the program.

variable


Set pelajaran terkait

The Spinal Cord, Spinal Nerves and Spinal Reflexes

View Set

AP MC Practice - The Female Philosopher

View Set

NURS 275 - Unit 4 Test - Pharmacology

View Set

Chem 1 Atomic Structure and Nuclear Chemistry

View Set

Direct and Indirect Characterization, Theme, and Mood and Tone

View Set

MATH 0309 Chapter 1&2 vocabulary/concepts

View Set

ATI Fluid, Electrolyte, and Acid-Base Regulation

View Set