What is the correct jquery code to set the background color of all p elements to red? $("p").style("background-color","red");?
Answers
Answered by
13
$("p").css("background-color","red");
hope it helps
hope it helps
Similar questions
Math,
7 months ago
English,
7 months ago
Geography,
1 year ago
Social Sciences,
1 year ago
Biology,
1 year ago