Skip to content

Instantly share code, notes, and snippets.

@kahilkubilay
Last active December 25, 2019 11:34
Show Gist options
  • Save kahilkubilay/76d0dc3b20c0a53d80f45fb98412f836 to your computer and use it in GitHub Desktop.
Save kahilkubilay/76d0dc3b20c0a53d80f45fb98412f836 to your computer and use it in GitHub Desktop.
Ping Pong With Javascript -- HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ping Pong With Javascript</title>
<style type="text/css">
@import'main.css';
</style>
</head>
<body>
<div id="gameArea">
<div id="stick" class="stick1"></div>
<div id="stick" class="stick2"></div>
<div id="line"></div>
<div id="ball" class="ball"></div>
</div>
<script src="main.js" type="text/javascript"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment