title: Jquery- How to change backgroundColor using prop method?
body: <p>Can I change the backgroundColor property value using the prop method?
  I'm new to programming. :)</p>
  
  <p>This is what I have,     </p>
  
  <pre><code>$('ul').prop('backgroundColor','red');
  </code></pre>
  
  <p>I read the chapters on this book I'm reading and it is my understanding that I can change properties from the DOM using the prop method in jquery. I can change other DOM properties such as className. Why not backgroundColor? Writing this I also tried atr.</p>
  
  <pre><code>$('ul').attr('background-color','red');
  </code></pre>
  
  <p>In this case, attr does have access to CSS properties, correct? However when using the prop method, we do have access to some CSS properties? Why is backgroundColor created?</p>
  
  <p>I know the best way to go about changing the background color would be to use the css method, in jquery that is. I just wanted to know if or not the prop or atr method can change the background color, and why not, if not. I believe this will give me a better understanding of the DOM.</p>
  
  <p>Thanks!</p>