Use tabs for single snippets of code, accordions when multiple code chunks exist.