Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Coding Your First HTML5 Game

alec maliwanag
alec maliwanag
1,921 Points

hi, I don't see a css folder or file in the zipped file download.

don't see a css file or folder in the zip download.

1 Answer

Brian MacDonald
Brian MacDonald
4,951 Points

Hey Alec,

It appears you are correct, the file is not in the included .zip - however you could quickly add the base styles.css by doing the following:

Create a style.css file with the following:

body { 
    background: #999999;
}
canvas {
    display: block;
    background: #ffffff;
    margin: 0 auto;
}

Import the stylesheet into your index.html:

<link rel="stylesheet" href="style.css">

Hope this helps get you on your way!