-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
96 lines (80 loc) · 2.56 KB
/
index.js
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
const image = document.getElementById("image");
const image2 = document.getElementById("image2");
const image3 = document.getElementById("image3");
const image4 = document.getElementById("image4");
const image5 = document.getElementById("image5");
const image6 = document.getElementById("image6");
const image7 = document.getElementById("image7");
const image8 = document.getElementById("image8");
const image9 = document.getElementById("image9");
const image10 = document.getElementById("image10");
const image11 = document.getElementById("image11");
const image12 = document.getElementById("image12");
const image13 = document.getElementById("image13");
const image14 = document.getElementById("image14");
const image15 = document.getElementById("image15");
const image16 = document.getElementById("image16");
fetch('https://picsum.photos/200/300?random')
.then(data => {
image.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image2.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image3.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image4.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image5.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image6.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image7.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image8.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image9.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image10.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image11.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image12.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image13.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image14.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image15.innerHTML = `<img src=${data.url} />`
})
fetch('https://picsum.photos/200/300?random')
.then(data => {
image16.innerHTML = `<img src=${data.url} />`
})