$("h1").css("background-color", "green"); code example Example: turn a div green div { background-color: green; }