-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathALUMNOS
59 lines (54 loc) · 1.53 KB
/
ALUMNOS
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name ="viewport" content ="width=device-width,inicial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Ejemplo Alumnos</h1>
<script>
fetch("mfo493_2023_10.json")
.then(response.ok)
if(response.ok){
console.log("response.ok+response.ok");
return response.text()
}else{
throw new Error(response.status);
}
then(data => { {
"Nombre";"Cristina Voda",
"email" ; "cristinavoda483@gmail.com",
"linked" ; "https://www.linkedin.com/in/cristinavoda",
"github" ; "https://github.com/cristinavoda/alumnos-",
"url" ;"https://www.crisrinavoda.com/",
"imagen"; "alumno8.png",
"descripcion" ; "Web portfolio de diseño gráfico y fotografía",
"inicio" ; {
"html" ; 2,
"css" ; 1,
"JS" ; 1,
"VUE"; 0,
"SQL" ;1,
"API";1,
"node.js" ; 1,
"express" ; 1
};
"fin" ; {
"html" ; 4,
"css" ;1,
"JS" ;1,
"VUE" ; 2,
"SQL"; 2,
"API" ;2,
"node.js" ; 1,
"express" ; 1
}
};
console.log("Datos:" + data);
const clasebarna=JSON.parse(data);
console.log(":registro:nombre curso :"+clasebarna.curso)
});
</script>
</body>
</html>