relative path
/ = Root directory
. = This location
.. = Up a directory
./ = Current directory
../ = Parent of current directory
../../ = Two directories backwards
relative path
/ = Root directory
. = This location
.. = Up a directory
./ = Current directory
../ = Parent of current directory
../../ = Two directories backwards
difference between absolute path and relative path
The Absolute path tells us the path of the current file from the root directory.
The Relative path tells us the path of the current file related to the current directory
For example you have a project folder named cryptocurrencyApp. which contains an image named currency.png.
The relative path for img is gonna be /image/currency.png , and
Its absolute path is gonna be C:\<All your parent folders>/cryptocurrencyApp/image/currency.png
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us