Posted by: Pdfprep
Post Date: November 18, 2020
You need to implement client-side animations according to the business requirements.
Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A . $ ("h1: first") .animate ({ opacity: 0 });
B . $("h1:first").fadeIn(1000);
C . $("h1:first").animate({ opacity: 1 });
D . $("h1:first").fadeOut(1000);
Answer: A,D
Explanation:
From scenario: Information about the first product on the product page must fade out over time to encourage the user to continue browsing the catalog.
Leave a Reply