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 182 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
  914 People Browsing
 113 Signed Up Today
Related Images
  
 945
  
 239
  
 278
Your Opinion
How often do you eat-out per week?
Votes: 79

Previous poll results: Do you believe in global warming?