Question: I'm currently making a game, and I'm trying to change the CSS values of a whole class of objects. For a single ID, I would use, `document.getElementById("idHere")`, but I need something like `document.getElementByClass("classHere")`. Thanks!

Answer: 
There is simply `document.getElementsByClassName("myClass")`, which returns an array of all the elements with that HTML class.

If you're using jQuery, you can do it with `$(".myClass")`, which will return a collection of all of the elements with that class.
Two ways to do it:

```
document.getElementsByClassName("theClassName");
document.querySelectorAll(".theClassName");

```

These methods won't work on older browsers (like IE7 or IE8). In this case you'll have to iterate through elements to check the class name, or rely on a library like jQuery.