I\'m trying to use jQuery to change the background color of a section when pressing on a button, and below is the code to do that. Why isn\
jQuery
section when pressing on a button, and below is the code to do that. Why isn\
Ensure you include the CSS selector inside the jQuery that you wish to target.
$("bgcolor").click(function(){
Should be:
$("#bgcolor").click(function(){
Because you are targeting an ID.