Top Posters
Since Sunday
15
8
8
7
6
6
6
6
6
6
6
5
New Topic  
wrote...
Posts: 148
Rep: 4 0
A month ago
Select the jQuery code that will set the background color of all li elements to green.

$('li').style('background-color', 'green');

$('li').css('background-color', 'green');

$('li').html('background-color', 'green');

$('li').attr('background-color', 'green');
Source  Download
Web Development and Design Foundations with HTML5
Edition: 9th
Author:
Read 74 times
2 Replies
Replies
Answer verified by a subject expert
wrote...
Posts: 195
A month ago
Sign in or Sign up in seconds to unlock everything.
$('li').css('background-color', 'green');
1
Related Topics
wrote...
A month ago
Good timing, thanks!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers.
Learn More
Improve Grades
Help Others
Save Time
Accessible 24/7
  412 People Browsing
Related Images
 116
 91
 78

▶️ Video: Causes of Acne

For a complete list of videos, visit our video library