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
  • Promo Banner

    Put your new skills to work. Create with unlimited downloads of web templates, photos, fonts and more. Plus access our full AI stack.

    Start creating

    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. Using the Promise.all() and Promise.allSettled() Methods in JavaScript

      Using the Promise.all() and Promise.allSettled() Methods in JavaScript

      Tutorial Beginner

      This tutorial will teach you about the Promise.all() and Promise.allSettled() methods in JavaScript. You will learn how to use these method to handle...

    2. Converting and Transforming Arrays in JavaScript

      Converting and Transforming Arrays in JavaScript

      Tutorial Beginner

      Arrays are a fundamental and powerful data structure in programming. Their power doesn't just come from their ability to store multiple objects or values....

    3. Understanding Promises in JavaScript: The Basics

      Understanding Promises in JavaScript: The Basics

      Tutorial Beginner

      This tutorial will help to familiarize you with promises in JavaScript. By the end, you will be able to write your own promises and execute callback functions.

    4. How to Use Callback Functions in JavaScript and ES6

      How to Use Callback Functions in JavaScript and ES6

      Tutorial Beginner

      If you’re looking to learn the ins and outs of JavaScript functions, including ES6 arrow functions, then this article is for you. We’ll learn how to define...

    5. 10 Insanely Useful Django Tips

      10 Insanely Useful Django Tips

      Tutorial Intermediate

      There are quite a few great little tricks and tips you can use in your Django projects that will speed up development and save many headaches in the long...

    6. Use querySelector to Add and Remove Element Class Names

      Use querySelector to Add and Remove Element Class Names

      Tutorial Beginner

      The DOM (Document Object Model) makes it easy to add and remove class names from HTML elements with JavaScript. In this article, we'll learn how to use the...

    7. Fetching Data in Your React Application

      Fetching Data in Your React Application

      Tutorial Intermediate

      In this tutorial you'll learn about one of the most basic elements of any web application—how to fetch data to display. This is not trivial. There are...

    8. Real-World OOP With PHP and MySQL

      Real-World OOP With PHP and MySQL

      Tutorial Intermediate

      Today, we're going to discuss the basics of object-oriented programming in PHP and MySQL. We'll build a class which is capable of performing the CRUD...

    9. Building a 5-Star Rating System With jQuery, AJAX, and PHP

      Building a 5-Star Rating System With jQuery, AJAX, and PHP

      Tutorial Intermediate

      This tutorial will teach you how to create a five-star rating system with the help of jQuery, AJAX, and PHP.

    10. Remove Duplicates From an Array in JavaScript

      Remove Duplicates From an Array in JavaScript

      Tutorial Beginner

      Learn how to remove duplicates from an array of primitives, and how to remove duplicates from an array of objects in JavaScript the right way.

    11. Searching Arrays in JavaScript

      Searching Arrays in JavaScript

      Tutorial Beginner

      Arrays are a powerful data structure that stores a collection of data, and JavaScript has many built-in methods to search and find data in your arrays that...

    12. REST vs. gRPC: Battle of the APIs

      REST vs. gRPC: Battle of the APIs

      Tutorial Intermediate

      The REST API has been a pillar of web programming for a long time. But recently gRPC has started encroaching on its territory. It turns out there are some...