The <div> element is 𝐛𝐥𝐨𝐜𝐤-𝐥𝐢𝐧𝐞 (meaning there's a line-break before & after the content encased the tag) and used to group larger chunks of code
<div> isn't meant to be used all the time though! Don't forget about your semantic HTML
Check out an example pic.twitter.com/PM8z4hRrma
I literally added a HTML comment to a file, and 884 lines of PHP code that failed now work. If I remove the HTML comment, the whole thing fails again. Wow, it's been a long time Mr. Heisenbug, my old friend!
I enjoy focusing on HTML first, then CSS.
It lets me get a base template out the way. Then I can tank hours playing around with CSS
If I do HTML & CSS at the same time—I can easily spend hours with only the first <h1> line on the site
Don't stop learning and never forget!
There was a time when programmers were measured by "Source Lines of Code Produced" and not the "Quality or Compactness of the Code".
10 Tested and Approved SLOC per day was acceptable.