Attributes Test with JS

Element #1 has the following attribute/value pairs:

class: example
id: top
style: color: blue;

Element #2 has no attributes.

Element #3 has the following attribute/value pairs:

id: bottom

Edit in JS Bin