AJAX / Promises / Async-Await Demo

1. Legacy AJAX (XHR)

Click the button above.

2. Fetch API with Promises (.then)

Click the button above.

3. Fetch API with Async/Await

Click the button above.