-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (30 loc) · 1.07 KB
/
Copy pathindex.html
File metadata and controls
39 lines (30 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AJAX</title>
</head>
<body>
<h1>AJAX: Asynchronous JavaScript & XML</h1>
<h2>Objeto XMLHttpRequest</h2>
<ol id="xhr"></ol>
<h2>API Fetch</h2>
<ol id="fetch"></ol>
<h2>API Fetch + Async Await</h2>
<ol id="async"></ol>
<h2>Axios</h2>
<ol id="axios"></ol>
<h2>Axios + Async Await</h2>
<ol id="axios-async"></ol>
<script src="../AJAX/01_XmlHttpRequest.js"></script>
<script src="../AJAX/02_API_Fetch.js"></script>
<script src="../AJAX/03_ApiFetch&AsyncAwait.js"></script>
<!-- Agregando La libreria AXIOS (antes de nuestro script!!)-->
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<!-- Ahora si podemos crear nuestro script donde usaremos la libreria axios -->
<script src="./04_Axios.js"></script>
<script src="./05_Axios&AsyncAwait.js"></script>
</body>
</html>