adding css and removing code that displayed the html snippets