Top Posters
Since Sunday
5
o
5
4
m
4
b
4
x
4
a
4
l
4
t
4
S
4
m
3
s
3
New Topic  
Begonia Begonia
wrote...
Posts: 464
Rep: 4 0
4 years 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');
Textbook 
Web Development and Design Foundations with HTML5

Web Development and Design Foundations with HTML5


Edition: 9th
Author:
Read 183 times
2 Replies
Replies
Answer verified by a subject expert
DryPhantomDryPhantom
wrote...
Posts: 382
4 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Begonia Author
wrote...
4 years ago
Good timing, thanks!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  971 People Browsing
Related Images
  
 139
  
 234
  
 854
Your Opinion
Which is the best fuel for late night cramming?
Votes: 144

Previous poll results: Who's your favorite biologist?