Snippet demonstrating dynamically adding a custom element and setting an attribute of it.

Demonstrates how to dynamically adding a custom element and set an attribute of it.
Follow doc style in other samples. Start with an H1 (#) that syncs with the filename. Then, add a one line description of what the sample does.