Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. $("body h1:nth-child(1)").fadeIn(1000);
B. $("body h1:nth-child(1)")-fadeOut(1000);
C. $("body h2:nth-child(1)").animate({ opacity: 0 });
D. $("body h1:nth-child(1)").animate({ opacity: 1 });
Answer:B
Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. $("body h1:nth-child(1)").fadeIn(1000); B. $("body h1:nth-child(1)")-fadeOut(1000); C. $("body h2:nth-child(1)").animate({ opacity: 0 }); D. $("body h1:nth-child(1)").animate({ opacity: 1 });