Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java Script c9 Question 1 (1 point) You use the basic jQuery methods for effects

ID: 3918264 • Letter: J

Question

Java Script c9

Question 1 (1 point)

You use the basic jQuery methods for effects to

Question 1 options:

start or stop an animation on selected elements

display or hide selected elements

change CSS properties for selected elements

Question 4 (1 point)

To start and stop a slide show, you must do all but one of the following. Which one is it?

Question 4 options:

Code an event handler for the click event of the slides

Call the setInterval() method to start the slide show

Call the clearInterval() method to stop the slide show

Question 6 (1 point)

When you use the animate() method, what must you code to define the animation?

Question 6 options:

a properties map

a callback function

a duration parameter

Question 8 (1 point)

If you chain animate() methods for an element, the animations are stored in

Question 8 options:

an array

a sequence

a properties map

Question 9 (1 point)

What does the statement that follows do?
$("#message").delay(10000).fadeOut(2000);

Question 9 options:

Delays the start of the fadeOut() method for 10 seconds

Stores the fadeOut() method in the queue after 10 seconds

Executes the fadeOut() method and then delays the execution of other animations in the queue

Question 11 (1 point)

What does the statement that follows do?
$("#current_image").finish().animate({ height: "200%", width: "200%" });

Question 11 options:

Completes the current animation on the selected element and then executes the animate() method.

Completes all animations for the selected element immediately, clears the queue for that element, and then executes the animate() method.

Stops the current animation on the selected element, clears the queue for that element, and then executes the animate() method.

Question 13 (1 point)

Which of the following statements about easings isn’t true?

Question 13 options:

jQuery provides just two easings.

The default easing moves an animation at a uniform speed.

You can provide for additional easings by coding a script element for jQuery UI or other plugin libraries.

Question 14 (1 point)

Code example 9-1
$("#faqs h1").animate(
    { fontSize: "250%", left: "+=125" },
    3000,
    function() {
        $("#faqs h2").next().fadeIn(1000).fadeOut(1000);
    }
);

(Refer to code example 9-1) What animation is performed by the properties map of the animate() method?

Question 14 options:

The font size of the selected element is increased by 250% and the element is moved right 125 pixels.

The font size of the selected element is changed to 250% of the default and the element is moved right 125 pixels.

The font size of the selected element is increased to 250% of the default and the element is moved left 125 pixels.

Question 15 (1 point)

Code example 9-1
$("#faqs h1").animate(
    { fontSize: "250%", left: "+=125" },
    3000,
    function() {
        $("#faqs h2").next().fadeIn(1000).fadeOut(1000);
    }
);

(Refer to code example 9-1) What animation is performed by the callback function of the animate() method?

Question 15 options:

The sibling that follows each of the selected h2 elements is faded in and then faded out.

The sibling of each h2 element that is a child of the h1 element is faded in and then faded out.

The first child of each of the selected h2 elements that is a child of the h1 element is faded in and then faded out.

Save

start or stop an animation on selected elements

display or hide selected elements

change CSS properties for selected elements

Question 4 (1 point)

To start and stop a slide show, you must do all but one of the following. Which one is it?

Question 4 options:

Code an event handler for the click event of the slides

Call the setInterval() method to start the slide show

Call the clearInterval() method to stop the slide show

Question 6 (1 point)

When you use the animate() method, what must you code to define the animation?

Question 6 options:

a properties map

a callback function

a duration parameter

Question 8 (1 point)

If you chain animate() methods for an element, the animations are stored in

Question 8 options:

an array

a sequence

a properties map

Save

Question 9 (1 point)

What does the statement that follows do?
$("#message").delay(10000).fadeOut(2000);

Question 9 options:

Delays the start of the fadeOut() method for 10 seconds

Stores the fadeOut() method in the queue after 10 seconds

Executes the fadeOut() method and then delays the execution of other animations in the queue

Question 11 (1 point)

What does the statement that follows do?
$("#current_image").finish().animate({ height: "200%", width: "200%" });

Question 11 options:

Completes the current animation on the selected element and then executes the animate() method.

Completes all animations for the selected element immediately, clears the queue for that element, and then executes the animate() method.

Stops the current animation on the selected element, clears the queue for that element, and then executes the animate() method.

Question 13 (1 point)

Which of the following statements about easings isn’t true?

Question 13 options:

jQuery provides just two easings.

The default easing moves an animation at a uniform speed.

You can provide for additional easings by coding a script element for jQuery UI or other plugin libraries.

Save

Question 14 (1 point)

Code example 9-1
$("#faqs h1").animate(
    { fontSize: "250%", left: "+=125" },
    3000,
    function() {
        $("#faqs h2").next().fadeIn(1000).fadeOut(1000);
    }
);

(Refer to code example 9-1) What animation is performed by the properties map of the animate() method?

Question 14 options:

The font size of the selected element is increased by 250% and the element is moved right 125 pixels.

The font size of the selected element is changed to 250% of the default and the element is moved right 125 pixels.

The font size of the selected element is increased to 250% of the default and the element is moved left 125 pixels.

Save

Question 15 (1 point)

Code example 9-1
$("#faqs h1").animate(
    { fontSize: "250%", left: "+=125" },
    3000,
    function() {
        $("#faqs h2").next().fadeIn(1000).fadeOut(1000);
    }
);

(Refer to code example 9-1) What animation is performed by the callback function of the animate() method?

Question 15 options:

The sibling that follows each of the selected h2 elements is faded in and then faded out.

The sibling of each h2 element that is a child of the h1 element is faded in and then faded out.

The first child of each of the selected h2 elements that is a child of the h1 element is faded in and then faded out.

Save

Explanation / Answer

If you have any doubts, plese give me comment...

1) All of the above

4) Code an event handler for the click event of the slides

6) a duration parameter

8) a sequence

9) Stores the fadeOut() method in the queue after 10 seconds

11) Completes the current animation on the selected element and then executes the animate() method.

13) jQuery provides just two easings.

14) The font size of the selected element is increased by 250% and the element is moved right 125 pixels.

15) The sibling that follows each of the selected h2 elements is faded in and then faded out.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote