Skip to content

Commit 899e6ed

Browse files
authored
Update index.html
1 parent 5cd86a0 commit 899e6ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,14 +246,14 @@
246246
g-=5;
247247
for(var n=0;n<100;n++){
248248
var img=document.createElement("img");
249+
document.getElementById('body').appendChild(img);
249250
img.src="rickastley.png";
250251
img.width="100";
251252
img.height="100";
252253
var rand1=Math.round(Math.random()*100);
253254
var rand2=Math.round(Math.random()*100);
254255
img.style.top=rand1.toString()+"%";
255256
img.style.left=rand2.toString()+"%";
256-
document.getElementById('body').appendChild(img);
257257
}
258258
document.getElementById("sl_text").innerHTML="$"+m.toString()+" Gems:"+g.toString();
259259
}

0 commit comments

Comments
 (0)