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
24
25
26
27
28
<!-- My first version was in 2017 , after getting my code stolen several times i privatized it. A few days ago i was going through some of my first codes and recalled that i wanted to add a few things to my code -->
<!DOCTYPE html>
<html>
<head>
<title>Pong</title>
<style>
body {
background-color: #000;
color: lightgreen;
user-select: none; /* Prevents text selection on the entire page */
}
#gameCanvas {
background-color: grey;
display: block;
margin: 0 auto;
width:100%;
}
#controls {
text-align: center;
margin-top: 1em;
}
button {
padding: 3px 7px;
margin: 0;
border-radius:18%;
background-color:cyan;
}
Enter to Rename, Shift+Enter to Preview
css
css
1
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
/*
<!-- My first version was in 2017 , after getting my code stolen several times i privatized it. A few days ago i was going through some of my first codes and recalled that i wanted to add a few things to my code -->
*/
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run