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. Learn React 18: Writing Components as Classes

    Learn React 18: Writing Components as Classes

    Tutorial Beginner

    This tutorial will teach you how to define your React components as classes. It will also briefly touch upon component lifecycle methods.

  2. Create a Music Player on Android: User Controls

    Create a Music Player on Android: User Controls

    Tutorial Beginner

    We are building a simple music player app for Android in this series. In this final part of the series, we will let the user control playback, including...

  3. Formatting JavaScript Dates

    Formatting JavaScript Dates

    Tutorial Beginner

    Formatting dates and times is a common requirement in JavaScript development, but the built-in formatting capabilities of the Date object have their...

  4. How to Implement Drag and Drop With JavaScript

    How to Implement Drag and Drop With JavaScript

    Tutorial Beginner

    Drag and drop is an essential feature of graphical user interfaces and is crucial for building a wide range of applications. In this tutorial, we'll create a...

  5. Create a Music Player on Android: Song Playback

    Create a Music Player on Android: Song Playback

    Tutorial Beginner

    In this series, we are creating a music player on Android using the MediaPlayer and MediaController classes. In this part of the series, we will implement a...

  6. Histogram Equalization in Python

    Histogram Equalization in Python

    Tutorial Beginner

    This tutorial shows how we can enhance the contrast of an image using histogram equalization and implement the method using Python and OpenCV.

  7. Using Faker to Generate Filler Data for Automated Testing

    Using Faker to Generate Filler Data for Automated Testing

    Tutorial Intermediate

    In-depth automated testing requires solid data generation. Come learn about Faker, a PHP library for straightforward data filling.

  8. Using date-fns for Easy Date Manipulation

    Using date-fns for Easy Date Manipulation

    Tutorial Beginner

    date-fns is a powerful and easy-to-use library that can save you a lot of time and effort when working with dates in JavaScript.

  9. Android From Scratch: How to Store Application Data Locally

    Android From Scratch: How to Store Application Data Locally

    Tutorial Beginner

    When it comes to persisting application data locally, Android developers are definitely spoiled for choice. In this tutorial, I'll show you how to make use...

  10. Create a Music Player on Android: Project Setup

    Create a Music Player on Android: Project Setup

    Tutorial Beginner

    Creating a music player is more complicated than creating something like a calculator. This is because in a music player, you will have to rely on the system...

  11. Build a Newsletter System With PHP and MySQL

    Build a Newsletter System With PHP and MySQL

    Tutorial Advanced

    Today, we are going to be building a newsletter system using PHP with a MySQL database. The tutorial will cover building a system that allows for multiple...

  12. How to Write Your Own Python Packages

    How to Write Your Own Python Packages

    Tutorial Intermediate

    Python packages are the building blocks of any Python application, and the community writes and shares lots of amazing packages. Learn how to write your own...