Especially in January, you start thinking about copyrights on your websites. This is one of those maintenance tasks ripe for a programmatic solution. No reason to manually update the years on your website's copyright year after year. Here are a few good options for creating an automatically updating copyright year on your website.
What are the best browser-based games to teach coding?
Whether you're learning or teaching CSS or Javascript, there are many fun, free, browser-based games to practice and perfect your skills.
How to make a PHP “IF OR” or “IF AND” statement
Both WordPress and Statamic content management systems are built on PHP. Just like many other programming languages, PHP's syntax for OR is two vertical lines; PHP's syntax for AND is two ampersands &&. Alternatively, the words "and" and "or" may be used, too. Here are some code examples.
Common “IF” statements used in Statamic websites
Especially for web designers new to Statamic, it can take some time to figure out how to manipulate Statamic-specific variables and incorporate the correct logic syntax to do what you want. Here are a few useful if statements that might help you out!
Display the first word of a variable in Statamic
Explore coding solutions for displaying the first word in a form field or variable by using PHP explode or a Regex Replace alternative in your Statamic CMS websites.
Alpine.js < template > and x-if or x-if ! (not)
If you're looking for how to use "x-if" and "x-if not" syntax in Alpine.js, then here's the post for you.
What is a conditional in Ruby?
If you're new to Ruby programming, understanding conditionals is an important first step.
Do I need to indent Ruby code?
Indenting Ruby code is the best practice. Learn about Ruby formatting plugins and the community-driven Ruby Style Guide.