you could also check out the functions "querySelector" and "querySelectorAll", which let you select Elements with a CSS query string (like "#id > div"). In many cases it is easier to create a clean and logic HTML structure, which let you use Selectors like these, than select every single Element by its ID (even IDselection might be faster). But for the beginning the array-method should definitly do it.