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.

Featured Code Tutorials

  • The Best Way to Deep Copy an Object in JavaScript

    The Best Way to Deep Copy an Object in JavaScript

    Kingsley Ubah
  • Create a JavaScript AJAX Post Request: With and Without jQuery

    Create a JavaScript AJAX Post Request: With and Without jQuery

    Kingsley Ubah
  • Code Courses

  • Learn React 18: The Complete React Developer Course

    Learn React 18: The Complete React Developer Course

    Franc Lucas
  • Learn Modern JavaScript Fundamentals in 7 Hours: Free Course

    Learn Modern JavaScript Fundamentals in 7 Hours: Free Course

    Dan Wellman
  • All Code Content:

    1. 3 Ways to Handle Events in JavaScript

      3 Ways to Handle Events in JavaScript

      Tutorial Beginner

      Event handling is a fundamental aspect of building interactive web applications in JavaScript. Understanding the different methods of setting event listeners...

    2. Kotlin From Scratch: Abstract Classes, Interfaces, Inheritance, and Type Alias

      Kotlin From Scratch: Abstract Classes, Interfaces, Inheritance, and Type Alias

      Tutorial Intermediate

      Learn more about object-oriented programming in Kotlin with a look at abstract classes, interfaces, inheritance, and type aliases.

    3. Use JavaScript APIs to Get the Current Date and Time

      Use JavaScript APIs to Get the Current Date and Time

      Tutorial Beginner

      JavaScript provides APIs that enable developers to easily work with dates, times, and time zones. In this article, we will look at how to use JavaScript's...

    4. An Introduction to Handlebars

      An Introduction to Handlebars

      Tutorial Intermediate

      If your site's data regularly changes, then you might want to take a look at Handlebars. Handlebars is a template processor that dynamically generates your...

    5. Learn React 18: Using CSS Modules

      Learn React 18: Using CSS Modules

      Tutorial Beginner

      This tutorial will teach you how to use CSS modules in React to keep your styles locally scoped.

    6. Learn React 18: Using Controlled Inputs

      Learn React 18: Using Controlled Inputs

      Tutorial Beginner

      You will eventually have to get data from your users and then manipulate the provided information to update the component state and the DOM. This tutorial...

    7. Learn React 18: Using Uncontrolled Inputs

      Learn React 18: Using Uncontrolled Inputs

      Tutorial Beginner

      This tutorial will teach you how to use uncontrolled inputs in your React components to manage form data.

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

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

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

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

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