jQuery Flashcards
1
Q
What function allows you to adjust the properties of elements?
A
.prop()
2
Q
Disable a button ID=”FART” using .prop()
A
$(“#FART”).prop(“disabled”, true);
3
Q
What function allows you to add html inside of an element?
A
.html(“enter your html text here”)
4
Q
What function copies the items in an element to another element?
A
.appendto()
5
Q
How do you target the 2nd child in an element to add a function to?
A
$(“.target:nth-child(2)”)
6
Q
Animation for hinged falling down thing
A
(“animated hinge”)
7
Q
Animation for shake
A
(“animated shake”)
8
Q
Animation for fadeout
A
(“animated fadeOut”)