jQuery Flashcards

1
Q

What function allows you to adjust the properties of elements?

A

.prop()

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

Disable a button ID=”FART” using .prop()

A

$(“#FART”).prop(“disabled”, true);

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

What function allows you to add html inside of an element?

A

.html(“enter your html text here”)

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

What function copies the items in an element to another element?

A

.appendto()

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

How do you target the 2nd child in an element to add a function to?

A

$(“.target:nth-child(2)”)

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

Animation for hinged falling down thing

A

(“animated hinge”)

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

Animation for shake

A

(“animated shake”)

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

Animation for fadeout

A

(“animated fadeOut”)

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