moved code snippets to codepen