scrimba
Build a Snake game in JavaScript
Adding CSS to our Snake Game
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Adding CSS to our Snake Game
AboutCommentsNotes
Adding CSS to our Snake Game
Expand for more info
index.html
run
preview
console
<html>
<head>
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1>Snake Game</h1>
<button id="start">Start/Restart</button>
<h2>Score <span id="score">0</span></h2>
<div class="grid"></div>
<script src="index.pack.js"></script>
</body>
</html>
Console
/index.html
-4:26