Code Tutorials

Discover thousands of free code tutorials to help you learn web and mobile development. You can learn Android app development, master React Native, become a better WordPress developer, and much more.

All Code tutorials:

  1. How to Count Words in JavaScript

    How to Count Words in JavaScript

    Tutorial Beginner

    In this quick article, we’ll see how you can count words in a paragraph with JavaScript, along with a couple of real-world examples.

  2. Read a CSV to an Array in PHP

    Read a CSV to an Array in PHP

    Tutorial Beginner

    In this post, I'll show you how to use PHP's built-in functions to read and print the contents of a CSV file and convert it into an array.

  3. How to Capitalize the First Letter of Each Word (Title Case) in JavaScript

    How to Capitalize the First Letter of Each Word (Title Case) in JavaScript

    Tutorial Beginner

    In this quick article, we’ll see how you can capitalize the first letter of all words in a string in JavaScript—also known as converting the text to title case.

  4. The 8 Best Free Data Visualization Libraries for JavaScript in 2025

    The 8 Best Free Data Visualization Libraries for JavaScript in 2025

    Tutorial Beginner

    People don't like to look at pages and pages of raw data. They are more likely to pay attention if the data is presented to them in a more visually engaging...

  5. How to Use Yield and Generators in PHP

    How to Use Yield and Generators in PHP

    Tutorial Intermediate

    This tutorial will teach you how to use yield and generators in PHP. We will start with the basics and then move on to topics like generator delegation.

  6. How to Change the Date Format in JavaScript

    How to Change the Date Format in JavaScript

    Tutorial Beginner

    In this article, we’ll see how you can change the format of the date in JavaScript. We’ll go through a couple of real-world examples to demonstrate how you...

  7. eSigning Documents With Eversign

    eSigning Documents With Eversign

    Tutorial Beginner

    It goes without saying that 2020 changed the business landscape forever, especially in the technology industry. Businesses that thrived on, and required,...

  8. Create a JavaScript AJAX Post Request: With and Without jQuery

    Create a JavaScript AJAX Post Request: With and Without jQuery

    Tutorial Beginner

    Learn what AJAX is and how you can create an AJAX post request in JavaScript using fetch(), XHR, and jQuery

  9. Adding and Removing Elements From Arrays in JavaScript

    Adding and Removing Elements From Arrays in JavaScript

    Tutorial Beginner

    Learn how to insert and remove elements from a JavaScript array using the push(), pop(), shift(), unshift(), and splice() methods.

  10. PHP Exceptions: Try Catch for Error Handling

    PHP Exceptions: Try Catch for Error Handling

    Tutorial Beginner

    In this post, you'll learn how to use exception handling in PHP. As of PHP 5, we can use try catch blocks for error handling—this is a better way to handle...

  11. Get Command-Line Arguments With PHP $argv or getopt()

    Get Command-Line Arguments With PHP $argv or getopt()

    Tutorial Intermediate

    In this tutorial, you will learn how to access command-line arguments inside your script with $argv and getopt() in PHP.

  12. PHP Type Casting: A Complete Guide

    PHP Type Casting: A Complete Guide

    Tutorial Beginner

    This tutorial will help you learn the basics of type casting in PHP. We will learn about allowed cast types and the rules followed for such castings.