AJAX JavaScript XHR and Fetch
4.1 (47 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,337 students enrolled

AJAX JavaScript XHR and Fetch

Learn how to use AJAX within your web applications, Course covers vanilla JavaScript using XMLHttpRequests and Fetch
4.1 (47 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,337 students enrolled
Created by Laurence Svekis
Last updated 11/2019
English
English [Auto-generated]
Current price: $129.99 Original price: $199.99 Discount: 35% off
12 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1.5 hours on-demand video
  • 7 articles
  • 7 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Use AJAX to get JSON data into their web pages
  • Use XHR requests to connect to servers and APIs
  • Use Fetch within web development
Course content
Expand all 22 lectures 01:42:48
+ Introduction
21 lectures 01:41:34
Developer setup environment
03:47
Localhost Setup
09:31
XHR requests across the web
11:52
Exercise Random User XHR option
06:23
Exercise Random User AJAX Load Data
05:38
Source Code Ajax Exercise
00:16
More XHR practice
04:26
XHR Request Data
09:34
Joke Exercise AJAX Source Code
00:12
JavaScript Fetch
05:23
Source Code Fetch Intro
00:14
Fetch Promise Response
08:22
Fetch Options
05:17
Source Code Fetch Jokes
00:13
Post with Fetch
05:06
Fetch Form Submit Data
10:34
Source Code Form Submit
00:27
Course Overview and summary
01:57
Resources
00:01
Requirements
  • JavaScript Experience and HTML and CSS
  • You should have web development Experience
Description

Welcome to our introductory course for using AJAX - Asynchronous JavaScript And XML

AJAX allows web pages to request small chunks of data (such as HTML, XML, JSON, or plain text) and display them only when needed.  This is achieved by using APIs like XMLHttpRequest or Fetch API. These technologies allow web pages to directly handle making HTTP requests for specific resources 

Typically when a user goes to a website the user has to wait for the server to respond with the data.  This is not the case as with AJAX we have the option to load the data when the user is already on the page making the user really happy.

This course covers making AJAX requests using the XMLHttpRequest as well as the newer fetch.   

Use JavaScript to send requests, receive response content and use the response data to output into the html.  JavaScript is at the center of it all connecting the web page content to the server data and doing all the work in between.

Course Covers

  • How to setup a localhost
  • What Fetch and XHR are and how they work
  • How to load an external files into the JavaScript
  • How to connect to web apis and load data
  • Using JavaScript to read response content and make use of it
  • Exercise to build a random user loader
  • Using AJAX to get a txt file content
  • Exercise Getting Random Jokes to output on a website
  • Using Fetch
  • Exercise Posting form data to a server using Fetch
  • Practice AJAX

Source Code is included

Friendly support in the Q&A section

Taught by an instructor with many years real world web development experience ready to answer your questions and help you learn AJAX.

What are you waiting for take the first step start learning AJAX and experience the amazing things YOU can build with AJAX?


Who this course is for:
  • Web developers who want to practice AJAX
  • Anyone who wants to learn more about XHR and Fetch requests
  • JavaScript developers