All I want is a way to select a random HTML element from the body (preferably with JavaScript or jQuery). It could range from the body itself, to a divide, to a paragraph that is embedded deep within several divides. I want to select this random element, and then be able to change its CSS style. This is particularly just for a fun easter egg for my website, but if anyone knows how to do this, that would be great.
Aucun commentaire:
Enregistrer un commentaire