Update index.html

Wrapped code in a container with the class "example" to trigger the css
selectors and included the css as 'scope' styling in the div container.