Create a snippet that demonstrates extending a native element