wanna organize my file structure (html&css)

feels messsy and need to add even more files
No description
15 Replies
timo
timoOP•12mo ago
this is what i have rn and want 10 more for the assignments i need to place in opdrachten
timo
timoOP•12mo ago
No description
timo
timoOP•12mo ago
just want help and advice how i should keep it clean
MarkBoots
MarkBoots•12mo ago
well, you can make a folder /opdrachten with the index.html having the list. and then seperate files inside that folder for each opdracht
timo
timoOP•12mo ago
so like /opdrachten/opdracht1.html etc? and then it looks clean to you?
MarkBoots
MarkBoots•12mo ago
yea for example. when you are a bit further, you'll learn how you can do it dinamacally with a js framework
timo
timoOP•12mo ago
prob not for a long time only 1 week to learn html and css and js and after that we start with springboot and angular💀
MarkBoots
MarkBoots•12mo ago
ah, that's nice. Good luck with that!!
timo
timoOP•12mo ago
i need that😞 1 more question more about style
timo
timoOP•12mo ago
click me is a js function to turn the h into purple
No description
timo
timoOP•12mo ago
this is my styleguide but kinda need to implement black more in it😅
No description
timo
timoOP•12mo ago
how can i do that smoothly
MarkBoots
MarkBoots•12mo ago
that's more a ui question, maybe better ask in #ui-ux
timo
timoOP•12mo ago
alr thx for the help tho tought it was way worse than just amking a folder lol
angelus12
angelus12•12mo ago
Just start by creating a /static folder that contains a folder for img, css , etc .the path for images would look like this /static/img/image.jpg. The path for css will be /static/css/style.css. I do it like this for years and so far this setup always works to keep the root of your project organized. For handling the html files you can do it like the others are saying, but i think there are better ways to do this if you choose to use PHP or any other server language.
Want results from more Discord servers?
Add your server