Which would be a better way to organize html, css, js files?
{A. Put .css files in one folder (styles) Put all JS files in one folder (scripts) And the html files... some will be out of folders, and some we can put in folders if it's a follow up... like sololearn.com/discuss/new (new would be inside a folder called discuss). } { B. put all styles and scripts of a page in one folder. Example: for page y, we make a folder called yz. y.css y.js /new (a follow up page) Maybe if you have some you will need to use multiple times, leave them outside folder. Like nav.css, footer.css, and maybe an images folder. So when it comes to using the files. y.html yz { style.css script.js i.png x.png } ... <head> <....href = "yz/somestyle.css"/> <...href = "yz/script.js"/> </head> ... } Or are there other ways, maybe better ways to organize files?