Hello,
The same question came to my mind few months ago. And I found a (partial) answer in a podcast.
It wasn't about code, developers or this kind of stuff, it was about "what advise would you give to yourself at 18". The speaker was Autodisciple, a french youtuber.
Here's his answer:
I'd say that the world is bad designed and the people don't really know what they are doing. Even the adult. Even people who look assured.
Things are imperfect, unfinished. And people who look confident, assured are mostly just faking it.
IMHO, this is pretty funny how this answer applies well to developement. We're trying. We're doing our best. And every day we're failing.
I don't really know what clean, semantic HTML code is. But here is a list of things I do to make my HTML as clean as possible :
header? A nav? A section? Is there an HTML5 element which cover this role? Asking myself "why have I written this?" Is my code valid ?Thank you for reading.
Note: I'm a beginner when it comes to writing in english, so feel free to give me your feedback :)