+ 1

Web files organization

How do files like html, css, scriptng and image files organized on the server computer?

18th Nov 2019, 6:11 PM
Balewgize
3 Antworten
+ 2
You can organize them any way you like, as long as they are linked properly. The only thing that is a must is to have a inddx.html file in the main directory. But it is better to keeps styling in one folder, javascript in another, images in another... you want it to be as clear as possible for you to modify later.
18th Nov 2019, 6:14 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 2
I personaly make a main folder where all background lies A CSS folder for all styles And a JS folder for all scripts And my html is in any folder system i want so if you open a page you can navigate to every other page and it should be organised. For example instead of making a file name like blog.html you should use a folder with its name and an index.html: blog.html -> /blog/index.html
18th Nov 2019, 6:16 PM
Nico Ruder
Nico Ruder - avatar
0
ok thank you so much
18th Nov 2019, 6:36 PM
Balewgize