i can do this to change the style of a div ID...
document.getElementById('test').style.display = "none";
why can't i do this to do the same thing to a class?
document.getElementsByClassName('egg').style.display = "none";
How do I change the style of a class?
Thanks