Top Posters
Since Sunday
g
3
3
2
J
2
p
2
m
2
h
2
s
2
r
2
d
2
l
2
a
2
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 184 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
  1073 People Browsing
 119 Signed Up Today
Related Images
  
 1823
  
 168
  
 496
Your Opinion
Do you believe in global warming?
Votes: 370