-
Pro tip: <div> elements are not bad. Using them for what they are not supposed to be used for is bad. <div> means division, so use them for dividing content and helping layout. Use semantic elements like <article>, <section>, <aside> and <nav> to give content meaning.
-
…in reply to @piccalilli_
and use bloody <button> for buttons ffs
-
…in reply to @piccalilli_
I see so many devs tripping themselves up, trying to not use divs, where using divs would make their layouts *so much easier*