Adds a code snippets section, this is based on a user request

Adding a code snippets showing implementing a simple drop down. This was a request from @bobsilverberg