Professional Documents
Culture Documents
Index HTML
Index HTML
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pong Game</title>
</head>
<style>
@import url('httpsL//fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
font-family: 'Poppins', sans-serif;
}
body {
text-align: center;
background-color: ghostwhite;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
position: fixed;
width: 100%;
}
</style>
<body>
<h1>Ping Pong game</h1>
<canvas></canvas>
<p>Clique para começar</p>
<script src="./script.js"></script>
</body>
</html>