92.9k views
4 votes
8. What is the correct jQuery code to set the background color of all p elements to red?

A.) $("p").manipulate("background-color","red");
B.) $("p").layout("background-color","red");
C.) $("p").css("background-color","red");
D.) $("p").style("background-color","red");

2 Answers

3 votes

Answer:

b

Step-by-step explanation:

User Zhaoqing
by
6.7k points
1 vote
the correct anwers is the letter b.)
User Brent Faust
by
6.2k points