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.
Code does the following:
var selectors = $('*:visible');
selectors.eq(Math.floor(Math.random() * selectors.length)).css("border", "1px solid red")