Code snippets

Code snippets are small bits and pieces of code that you can add to your website. I try to keep it as simple as possible, but you'll still need basic knowledge in the language(s) the snippet is written in to take full advantage of it. Let me know if you have any questions!

For more elaborate code, scripts, and generators, see code projects.

This stuff will always be free, and you can do virtually whatever you want with it as long as you don't restrict the freedoms of others. Read my license terms for more information. I take donations at Ko-fi as well if you have any spare change, but that's completely optional!

HTML/CSS

CSS

PHP

Javascript

  • Styleswitcher

    A styleswitcher that doesn't force you to preload every stylesheet is possible!