← AjaxChallenge.com

Coding · Facts & stats

Ajax facts & stats

7 fact-checked facts about ajax and asynchronous web programming, each with the reason behind it. 5 more are in today's round and join this page after it closes.

Play today's round

The basics

The 'J' in Ajax refers to which language?

AnswerJavaScript

JavaScript in the browser sends and handles the requests.

What does the 'X' in Ajax stand for?

AnswerXML

XML was the original data format, though JSON is now more common.

Going deeper

Which browser object was the original workhorse for Ajax requests?

AnswerXMLHttpRequest

XMLHttpRequest lets scripts make HTTP requests in the background.

Which modern JavaScript function is a promise-based way to make HTTP requests?

Answerfetch()

fetch() returns a promise that resolves to the response.

Which browser security rule restricts scripts from reading responses from other domains by default?

AnswerSame-origin policy

The same-origin policy blocks cross-site reads unless the server allows them.

Expert level

Who coined the term 'Ajax' in a 2005 essay?

AnswerJesse James Garrett

Garrett's essay 'Ajax: A New Approach to Web Applications' named the technique.

Which mechanism lets a server permit cross-origin Ajax requests?

AnswerCORS

Cross-Origin Resource Sharing uses HTTP headers to allow other origins.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round