html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1><i></i></h1>
<audio controls style=" display:none;" loop id="music"
src="https://www.mboxdrive.com/Learn.mp3"
<!-- https://dl.dropbox.com/s/nbt7tqcacl3nob8/IPL%20theme%20RMX?dl=0"
src=""--> id="music" controls="" >
<script>
var music = document.getElementById("music")
document.addEventListener("click", function() {
music.play()
})
</script>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
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
/*taken from my previous codes*/
*{
margin: 0;
padding: 0;
}
#square {
background: #D3D3D4;
height: 120vh;
width: 70vh;
color: #000;
}
.rectangle{
position: absolute;
left: 0;
right: 0;
margin: auto;
width: 320px;
height: 30px;
top: 40vh;
border: 2px solid black;
}
.cube {
position: absolute;
top: 2px;
width: 150px;
height: 26px;
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run