Exercise 11.5
This is Exercise 11.5, lecture on communicating with backend, used in the course IDATA2301 Web technologies at NTNU, campus Aalesund.
Purpose
The purpose of the exercise is practice showing a busy indicator while waiting for a response to an Ajax request.
Instructions
Extend your solution for Exercise 11.3:
-
Send the request to a new URL:
https://web-tek.ninja/php_backend/delayed_dice.php
. This API creates an artificial delay to simulate a long request. - Show some kind of busy indicator to the user while the request is in progress.
- Remember to hide the indicator when the response is received.
Solution
You can find a solution here.