Skip to content

Commit 520db12

Browse files
committed
001
1 parent 6f46c1b commit 520db12

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Clase 16 - Ajax & Fetch/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<link rel="stylesheet" href="./estilos.css" type="text/css">
7-
8-
<title>CLASE 7 </title>
7+
<script defer src="./index.js"></script>
8+
<title>CLASE 14 </title>
99
</head>
1010
<body>
1111
<div class="divP">
@@ -17,6 +17,6 @@
1717

1818
</div>
1919

20-
<script async src="./index.js"></script>
20+
2121
</body>
2222
</html>

Clase 16 - Ajax & Fetch/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
*/
55

66
fetch('productos.json')
7-
.then((datos) => console.log(data));
7+
.then((datos) => console.log(datos));

0 commit comments

Comments
 (0)