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 trialsamuelk
2,100 PointsGridulator
How did the instructor got the css files that he used for the grid? He talked about gridulator and the next thing he did was a css file ready without giving any detail about how he got it. Any suggestions? Thanks!
6 Answers
James Barnett
39,199 Points- Download
Project Files
- Unzip Project Files
- Read about how to organize your files
- Read about how file paths work
- Find the
grid.css
file in the directory you created when you unzipped theproject files
- Move the
grid.css
file to your CSS directory like you learned about in step 3 -
Link your the CSS file to your HTML using the
<link>
tag remembering what you learned about paths
Dylan Dixon
947 Pointslook up grid.css and download the file, there should be that one or a similar one like it come up.
samuelk
2,100 PointsThanks Dylan! I found the file and downloaded it, but it didn't make any change.
Dylan Dixon
947 PointsWhat do you mean?
All that you need to do in order to activate the grid is type in the class name of it in a div wrapper around what you want to be sized in the grid.
Sorry if that doesn't make much sense haha. I hope I helped.
Dylan Dixon
947 Pointsfor example
<div class="grid_1">this will be the size of grid 1</div>
<div class="grid_5">this will be the size of grid 5</div>
this will size the div into the size of the first grid in gridulator.
Make sense?
Edit: did that show up for you correctly?
Edit2: whoops I wasn't using the backticks
samuelk
2,100 PointsIt's not the coding. It seems like the css file itself is not linking to the file that I' m working on in order for what I am doing to manifest
Dylan Dixon
947 PointsIt should work the same. Not really sure what you're saying here.
Christina Pagano
15,676 PointsUsually they have all the files they use in the tutorials to download in a "project files" link. If you have the file just make sure you also use a link tag in your html head linking to the grid.css. If you are unfamiliar/ want to understand more about grid layouts, look up the CSS Layout Techniques deep dive, there's a whole section on grid layouts.
samuelk
2,100 PointsThanks Christina! I'll read that section to learn more about the topic. Regards!
samuelk
2,100 Pointssamuelk
2,100 PointsThanks for the reply. Important info!