MCQs > IT & Programming > JQuery > What is the correct jQuery code to set the background color of all p elements to green?

JQuery MCQs

What is the correct jQuery code to set the background color of all p elements to green?

Answer

Correct Answer: $(“p”).css(“background-color”,”green”);

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it