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.
If you need to change CSS values according to class name you can just use:

```
document.getElementsByClassName("classname");

```

this will return you an array of all elements in whole document that have class which you search.

This will allow you to write a loop to change CSS for all of returned elements.