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


Difference between ./ and .../ and what are they called?

I m trying to understand what does ./ and .../ difference are.? I am using vue and it my IDE (Vscode) isn't giving me intellisense as my work machine which make it hard for me to relate on what each does?

3 Answers


These are used for relative paths.

Traversing through folders.

The first one:


This is the folder that the working file is in for example

|-- index.html
|   |-- css
|   |   |-- styles.css

So in the index.html file, ./ is the root directory

And in the styles.css file, ./ is the css folder

The second one:


This is moving out of the directory of the working file

|-- index.html
|   |-- css
|   |   |-- styles.css

So in the styles.css file, ../ is the root folder as we have moved back one directory

Liam Clarke I am totally lost.