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

JavaScript JavaScript Loops, Arrays and Objects Tracking Data Using Objects The Object Literal

.DS_Store in the project files?

Instead of using Workspaces for the last couple of sections, I have been downloading the project files and using them in a different editor.

In the project files for this video, and video number two, there is a file titled ".DS_Store" in addition to the typical .html, .js, and .css files. I haven't looked any further than the second video's project files to see if further project files contain it.

I also opened up Workspaces and it does not contain a file by that name (even expanding the existing JS and CSS folders). I only see it in the project files.

What is the .DS_Store file, and what does it do? When downloading, and dropping the files into the editor that I am using, do I need to move that file into the editor as well, or is this something that the JavaScript we will be writing later in the section going to create?

1 Answer

andren
andren
28,558 Points

It is a file that stores various info about the folder itself on Mac OS (OSX), it is included in the project files because the folder was copied from a Mac. On Mac OS the file is hidden by default, but on Windows it is not. It is not a file which is connected to the projects themselves, and doesn't serve any purpose on a Windows or Linux machine. You can safely delete the file if you so wish.