I’m learning HTML and CSS and I feel a little overwhelmed when I write code. I’m completely self-taught prior to starting freeCodeCamp, so please be kind.
Can anyone suggest resources about how to format code so that it is readable by other people? I want to form good habits now.
Things I second-guess myself about:
- When/how much to indent lines
- When to write code as a single line vs a multi-line block, and where line breaks should go
- When to include comments explaining code
- What order to write things like html attributes and css properties in