
Learn to use XHR and fetch in JavaScript to perform ajax calls and fetch data from web APIs, including random user information and Chuck Norris jokes, using promises.
set up your development environment with brackets and Chrome DevTools, and learn to use AJAX, fetch, and the network panel to load random user data and Chuck Norris jokes.
Set up localhost to enable ajax calls by running a local server with node and live server, using brackets live preview to avoid file protocol issues.
Explore how ajax enables asynchronous data loading with JavaScript, sending http requests, handling responses, and updating the dom without refreshing the page.
Learn how to create and use the ajax xhr request object in JavaScript to fetch data from the web, handle readyState and status codes, parse JSON, and update page content.
Explore advanced XMLHttpRequest options, including on progress and on load, monitor ready state, and fetch random user data via a button, displaying first name, last name, and thumbnail in output.
Learn to load random user data with AJAX using JSON parsing, display names and pictures, and compare XHR and fetch as you build dynamic web pages.
practice building an XMLHttpRequest to load a local text file via GET, handle readyState and status 200, and display the response text on the page.
Connect to an open chuck norris jokes api and fetch a random joke using ajax and XHR, then parse JSON and display the joke and image on each button click.
learn to use the fetch API to make ajax calls, handle responses with promises, and retrieve text or json from a web API, while noting its headers support.
Explore fetch and promise handling in JavaScript, comparing formats and chaining promises to parse response text or JSON. Learn to inspect headers and use catch for errors.
Learn to use fetch options to inspect headers and status codes, log results, and handle errors, while refactoring with fat arrow functions to clean up promise chains and return json.
Learn how to post data with fetch, handle json responses, and configure headers and content-type for a form submission, illustrating a server round trip.
Build a form with first name, last name, and company fields, capture input data as an object, prevent default submission, and send it to the server via ajax for processing.
Explore how to practice ajax calls with xhr and fetch, try the included source code, and experiment with public APIs to strengthen your ajax skills and deepen learning.
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
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?