Because VISUAL STUDIO CODE displays the folder and subfolder on the same level - html

I am trying to create a subfolder inside a folder in angular. Unfortunately I create them on the same level. I tried doing the same thing in Windows Explorer, but the problem persists. Why are the other folders and subfolders of the project displayed normally? That is, with a hierarchical tree structure?

The backslash between the two folders mean that "components" is inside "comunicazioni2". If they were at same level, one would appear at the top of the other.

They are not on the same level they are just shown this way because there is only 1 subfolder. If you add another sub folder it will show it the normal way with indentation.

Related

Can i upload my website folder like this (nested folders inside main folder)?

The image describes the main website folder that contains nested files and folders of website can i place like this ?
Yes, of course, you can even put other folders inside the sub-folder. If you are using this for a navigation bar or whatever, when making links, use:
/subfolder/page12345.html
and not:
https://mysite/subfolder/pag12345.html
you can use both but he first option gives cleaner code.

HTML - Link to files in a different folder

I am trying to make a clickable link to an HTML doc that is in a different folder than the original doc. I have read article after article and I can't figure it out.
Hello
I understand this fine^
Usually, when I'm linking to another file, it is in the same folder as the one I'm currently using so it works just fine.
Please see the path bellow I use on my computer to reach the file I want:
Desktop>My Folder>Oct 2020>Oct 15
After reading through articles on the subject, I came up with this, but it's not working.
<a href="file:///C:/Desktop/My Folder/Oct 2020/Oct 15/hello.html" target="_blank">
Obviously, there is a key concept I am missing here.
Your advice is appreciated!
What you want to do is determine how to get from the folder that contains your HTML document to the folder that contains your original document.
When writing a path from one folder to another, separate each folder with a /, and use two periods .. to go "up" one level in your folders.
For example, in the folders shown below, if you wanted to edit file1.html which is in My Folder so it contained a link to hello.html, you could use a link like this:
Hello
If, instead, you wanted to edit file2.html so it contained a link to hello.html, then you could use a link like this:
Hello
Note that we need to go "up" two levels (up to Nov 2020 and then up to My Folder), so we need to use .. twice.

Why are my CSS files not linking to my HTML files?

I am currently facing a problem of not being able to link my CSS files to the HTML files that are located in the same folder. About a year ago, I did a project where I built a simple website using HTML and CSS. Now when I download the folder from my Google Drive and try to open the HTML file with Chrome, I see that the CSS effect is not applied. However, after going back to the folder to open and close the corresponding CSS file, when I try opening the HTML file again, then the CSS effect is shown. I have no idea why this is happening but does anyone have any idea? I have a folder called snappers and inside that folder, I have three different folders, one that stores HTML files, one that stores CSS files, and one that stores images used for the website.
Based on your folder structure you have to go one directory up to access the css-folder:
"../css-folder/css-file.css"

How to open several folder in navigation sidebar SublimeText2

It's seems i can open only one folder in the navigation sidebar in the SublimeText2 editor.
Everytime i try it open a new window...i try using a widows with 2 layout and 2 group... and also " add folder to project".. same result.
Is there a way cause i need for example the package folder
/usr/lib/python2.7/mypackage
and the project folder in my /home/project
One way would be opening the top level directory... but it not the best.
Give thanks to the community

html won't load uikit css two folders deep

I'm currently learning to use yootheme's uikit. I'm currently running it off of Apache 2.4.16 on my Mac, but the index.html page won't bring up the main uikit.css (or any css) buried two or more folder levels deep (as all the css files within uikit's directory are).
Here is my folder structure:
MainSiteFolder
index.html
uikit/
css/
uikit.css
fonts/
js/
And here is the line I included in the head of index.html (copied and pasted):
<link rel="stylesheet" href="uikit/css/uikit.css" />
If I pull out that css file and put it in any other folder I create (or the root directory), I can change the reference to "otherFolder/uikit.css" and it works perfectly... but I'd like to be able to keep things organized within multiple folders until I nail down which of the many uikit css files I plan to use.
Is there something I've missed that removes my ability to load css files that are more than one folder lever deep? Or do I need to just put everything into one css folder, despite the loss of convenience organization would bring?
EDIT: Must have been something strange with my browser (or Apache?) not realizing there were files in the folder. I don't know the reason, but removing the entire folder, and recreating it inside the directory, then uploading the files individually got it working. Though it still baffles me why it didn't work in the first place. Some sort of missing reference or something perhaps.
Use:
../
To go to a higher directory, like:
href="../uikit/css/uikit.css"
To go 'up' one level of directories. ../../ goes up 2 levels, and so on ...
Alternatively , start at the root directory, in Windows it is C: not sure what it would be on your system, but something followed by a :