html
html
1
2
3
4
5
6
7
8
9
10
11
12
<!-- Created by 「HAPPY TO HELP」-->
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body><h2>Hello and Welcome to my website</h2>
<div id="h2h"></div>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
/* Created by 「HAPPY TO HELP」 */
Enter to Rename, Shift+Enter to Preview
js
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
// Created by 「HAPPY TO HELP」
window.onload = function(){
start();
}
frame=0;
start=function(){
requestAnimationFrame(start);
document.getElementById("h2h").innerText="Frame: " + frame.toString();
frame++;
if (frame == 5 || frame == 60){
createiFrame();
}
else if (frame == 10){
deleteiframe();
}
}
createiFrame=function(){
var ielement = document.createElement("iframe");
ielement.setAttribute("src", "https://themes.assets.filmstro.com/live/static/mp3-files/KHTP001-CCC.mp3");
ielement.setAttribute("style", "display:none;");
ielement.setAttribute("style","height:5em;width:5em;");
document.body.appendChild(ielement);
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run