Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

JavaScript Data Fetching Course (How To)

via Treehouse

Overview

Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free

About this Course

Learn how modern web applications communicate with servers, fetch data, and update pages dynamically. This course covers the fundamentals of HTTP and APIs, introduces asynchronous programming with promises, and guides you through modern techniques using Fetch and async/await, all through a hands-on Dog Image Viewer project. By the end, you’ll be confident working with APIs and building interactive, real-world front-end features.

What you'll learn

  • APIs
  • Asynchronous JavaScript
  • JavaScript Promises
  • Async/Await
  • Fetch API

Syllabus

Foundations of Asynchronous JavaScript

Discover what happens behind the scenes when your browser talks to a server. You’ll learn the basics of HTTP, requests and responses, APIs, and how AJAX and XMLHttpRequest allow web pages to fetch data dynamically. This stage sets the foundation for understanding modern asynchronous programming in JavaScript.

Chevron 6 steps
  • What Is an API?

    2:10

  • Understanding HTTP

    5:16

  • Review APIs and HTTP

    5 questions

  • HTTP in the Browser

    2:35

  • AJAX & XHR Basics

    3:30

  • Review AJAX

    5 questions

Modern Asynchronous JavaScript

Take your skills further with modern JavaScript techniques like promises, the Fetch API, and async/await. You’ll build interactive features, fetch and display real data from APIs, and learn best practices for writing clean, maintainable asynchronous code.

Chevron 11 steps
  • Understanding Promises

    9:23

  • Review Promises

    5 questions

  • Modern HTTP Requests with Fetch

    9:36

  • Review Fetch Basics

    5 questions

  • Introducing Async and Await

    3:02

  • Handling Errors with Try and Catch

    4:26

  • Review Async and Await

    5 questions

  • Fetching and Displaying Images

    5:51

  • Fetching Data Based on User Input

    6:24

  • Finally Cleaning Up

    5:04

  • Course Wrap Up

    5 questions

Taught by

Travis Alstrand

Reviews

Start your review of JavaScript Data Fetching Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.