Code

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 Content:

  1. 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.

  2. 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...

  3. 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,...

  4. 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

  5. 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.

  6. 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...

  7. 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.

  8. 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.

  9. Functional Programming in PHP With Lambda Functions

    Functional Programming in PHP With Lambda Functions

    Tutorial Intermediate

    One of the nice things about programming is that the same problem can be solved using multiple methods. This tutorial will teach you how to use functional...

  10. Comparing the 5 Best PHP Form Builders (And 3 Free Scripts)

    Comparing the 5 Best PHP Form Builders (And 3 Free Scripts)

    Tutorial Beginner

    Looking for a PHP form builder script for your website? Today, we compare the five best PHP form generators available at CodeCanyon. This post will help you...

  11. 5 Real-Life Uses for the JavaScript reduce() Method

    5 Real-Life Uses for the JavaScript reduce() Method

    Tutorial Beginner

    In this article, we'll take a look at some handy uses for the JavaScript array reduce method. I'll show you five practical uses, including finding the sum of...

  12. How to Use AJAX in PHP and jQuery

    How to Use AJAX in PHP and jQuery

    Tutorial Beginner

    Today, we’re going to explore the concept of AJAX with PHP. The AJAX technique helps you to improve your application's user interface and enhance the overall...